I am trying to get mod_rewrite to work on my server. I'm using Apache 2.0 with Red Had Linux. I developed some rules on my dev box that worked fine, but when I tried modifying my live server, it was not even attempting to apply the rewrite rules.
I tried making a very basic rule just to see the rewrite work on my live server with:
LoadModule rewrite_module modules/mod_rewrite.so
RewriteEngine on
RewriteLog logs/rewrite
RewriteLogLevel 9
RewriteRule ^/foobar/$ /newfoobar [PT]
and it does not write anything to the rewrite log nor does it rewrite the url. It just gives me a 404 error in the error log because /foobar does not exist.
There are no other references to RewriteEngine in any of the conf files. Any help on why this is not working would be much appreciated!
Recent comments
16 hours 57 min ago
17 hours 2 min ago
22 hours 1 min ago
1 day 4 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 11 hours ago
1 day 17 hours ago
1 day 21 hours ago
1 day 23 hours ago