mod-rewrite question.
Why the following code
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^search/(.*)$ http://www.example.com/forms/index.php?i=$1 [QSA,L]
results in the url changing from
http://www.example.com/search/foo/bar
to
http://www.example.com/forms/index.php?i=foo/bar
while the following code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^search/(.*)$ /forms/index.php [L]
does not change the input url?
Any insight?
Thanks.