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.
Best Answer
check in web directory the hidden file called .htaccess . If exist Open the file and check the settings. 404 page is for page do not exist. Check the apache error log also