I’m just beginning to test my usage of mod_rewrite on a local apache setup.
While rewrite rules are working fine, my problem is that a page like “localhost/foo/” is automatically redirected to “localhost/foo.php”. This happens even with no rewrite rules. Is this normal? I assume not, since this does not happen on my hosted domain. How can I disable this?
Figured out what the problem was – documenting it as an answer for future searchers [is this the correct procedure?]
I had to disable MultiViews – it was redirecting localhost/foo to localhost/foo.php if it could find that file. Everything worked just fine once that was done.