Hey all,
I have basically the following
<VirtualHost>
ServerName www.myserver.com
DocumentRoot /var/www/root
<Directory "/var/www/root">
RewriteEngine On
RewriteRule ^somepath/(.*) somepath2/$1
RewriteRule .... etc.
</Directory>
</VirtualHost>
I have a rewrite rule after the one above to a php page that dumps out all of the REQUEST_URI and the "rewritten" path. The issue is that the rewrite does the following....
Input Path:
www.myserver.com/somepath/test/test2
Output Path
www.myserver.com/somepath2/test/test2/test/test2
I don't really get why? Does anyone have any suggestions?