Trying mod_rewrite on a foxserv installation on my windows pc and although I'm new to mod_rewrite on a pc I think this must be a bug.
Eg. 2 pretend virtual hosts www2 and www8 both @ 127.0.0.1
request in browser : http://www8/site/bananasplit
from httpd.conf :
RewriteEngine on
RewriteRule ^/site(.*) /director.php [L]
Result:
Bad Request Error 400
But if I change it to a different target it works ie www2 or www.google.com
or whatever.
RewriteEngine on
RewriteRule ^/site/(.*) http://www2/director.php [L]
Rewrite logs, error logs etc don't tell me anything I didn't already know.
Just trying to get to the bottom of this with a 'simple' working example.