Do you need to enclose your rewrite rules with the following?
<IfModule mod_rewrite.c>
# Rewrite rules here.
</IfModule>
Assuming mod_rewrite wasn’t turned on, the rules won’t be executed anyway, no?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If mod_rewrite wasn’t turned on, the rules would generate an error upon starting.
Whenever there’s reason NOT to be sure a module is loaded (“generic” .htaccess used on multiple servers for example), the IfModule tags are useful. If you’re sure the module is loaded, there’s no need for the tags.