mod_rewrite Not Working in .htaccess - Solution

mod_rewrite Not Working in .htaccess - Solution

Note: This article will be emailed to your friend.

I faced a hair-tearing problem. mod_rewrite was loaded and yet it was not working in .htaccess files (and httpd.conf initially). Here is the solution along with how you can debug mod_rewrite problems.

Debugging procedure:
Add these two line to your httpd.conf immediately after RewriteEngine On.
RewriteLog “/var/log/httpd/rewrite_log”
RewriteLogLevel 9
After that I added the required RewriteRule etc.
The reason for testing [...]

Read the rest of this article (189 words)

Please fill in the following fields

* - Required

Your Name: *

Your E-Mail: *

Your Remarks:

Friend's Name: *

Friend's E-Mail: *

Protected by Comment Guard Pro