apache2 mod_rewrite enable, but not working
Posted
by
user611478
on Server Fault
See other posts from Server Fault
or by user611478
Published on 2013-07-02T16:23:23Z
Indexed on
2013/07/02
17:07 UTC
Read the original article
Hit count: 339
apache2
|mod-rewrite
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.
© Server Fault or respective owner