To reproduce (s. attachment):

vhost bla.conf (requires a2enmod proxy_http)
    enables RewriteEngine/RewriteLogging and Proxy
   DocumentRoot /var/www/bla

/var/www/bla/.htaccess:
RewriteRule ^(.*)$   http://10.110.110.29/$1 [P]

no other files in /var/www/bla/

request / (as in attached reproduce-1394403.sh):
$ (printf "GET / HTTP/1.0\r\nHost: bla\r\n\r\n"; sleep 1) | netcat localhost 80

in the ErrorLog (/var/log/apache2/bla_error.log) you can see that after the 
first
  go-ahead with proxy request proxy:http://10.110.110.29/ [OK]
mod_rewrite is called a second time for the same request, but this time
with /index.html instead of just /
This is from mod_dir not honoring the final decision of mod_rewrite ([P]).

Matthias


** Attachment added: "apache configuration snippets to reproduce the bug"
   
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1394403/+attachment/4473801/+files/reproduce-1394403.tgz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1394403

Title:
  RewriteRule of "^$" is broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/apache2/+bug/1394403/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to