I have enabled mod_rewrite on my server and confirmed it using phpinfo() and it shows as enabled.
I have the following in my httpd.conf file:
ServerName 172.16.1.114
RewriteEngine on
RewriteRule ^/test$ /index.php
I've tried the rewrite rule on another server and it works as expected. No errors are thrown to my apache error log and it restarts cleanly. When I try the page it 404s and doesn't load index.php
I'm sure this must be a simple problem, but I am at a loss on how to figure it out. Any help is appreciated.
LogLevel
set to? Default iswarn
, increase it todebug
if you haven't already, restart Apache and try again, and update your post with what you see in the logs. If you still don't see useful information, enable RewriteLog as Krist van Besien suggested, more here: httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritelog