Forum Moderators: phranque
LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c (1.3.31)
and added a row (without any tags arround it: Rewrite Engine On: I've also tried to do this in the / directory tag. But I can't get it to work when trying a rewrite rule a 404 error is generated. Have I forgotten to do something in the configuration phase?
/oKatt
Welcome to WebmasterWorld [webmasterworld.com]!
Make sure you have the FollowSymLinks or SymLinksIfOwnerMatch option and AllowOverrides FileInfo enabled for any <directory> you want to use mod_rewrite in. Also, you can enable detailed mod_rewrite logging to help you troubleshoot.
Since you didn't post your rewrite rule, we can't tell what it means that you got a 404...
Jim
Should I modify allowoverride here to:
AllowOverride FileInfo? and then add rewritelog info including level after that?
Do I need to specify rewriteengine on in the httpd.conf file as well?
I'm still having trouble and have tested with this rule:
RewriteBase /
RewriteRule ^page.html test1.html [L]
/oKatt