I am using WAMP with Drupal 7. I enabled the mod_rewrite module in httpd.conf to enable clean url’s in drupal however since then I am unable to run my website due to 500 internal server error. When checked the Apache log I see “.htaccess: RewriteRule: bad flag delimiters”. I am unable to figure out the reason for this error.
Below is the content for .htaccess placed in website root
Please help. Thanks in advance.
It’s a pretty obvious typo:
RewriteRule ^ - [E=protossl
You accidentally deleted the closing bracket. It should appear as:
RewriteRule ^ - [E=protossl]
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.