0

We have Helicon ISAPI Rewrite 3 installed on our Windows 2003 Web server. The RewriteRules work fine in the global file located in the httpd.conf file. The server serves several Web sites and we were hoping to create RewriteRules to apply to specific Web sites. In the IIS Properties for each Web site there exists a separate tab for ISAPI_Rewrite pointing to the .htaccess file for that Web site. No rules applied to the .htaccess files work. Any ideas why the .htaaccess files have no effect.

1

Check NTFS permissions on .htaccess files and make sure you are not using the Lite version of ISAPI_Rewrite.

In the .htaccess files themselves make sure you have

RewriteEngine on

at the top of each file.

Edit to add: Put these lines in your httpd.conf file and reload the service. They will create error and rewriter log files. Checking the event viewer might also shed some light on the issue.

RewriteLogLevel 9
LogLevel debug 
| improve this answer | |
  • NTFS Persmissions look good, RewriteEngine is on. I believe it is not the Lite version, how can we be sure? – James Lawruk Aug 27 '09 at 13:57
  • Beyond the installation file name which contains an 'l' rathern than an 'f' I can't find any clear differences between the two beyond functionality. Added an edit to my answer for another trying to check. – djhowell Aug 27 '09 at 14:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.