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 [...]
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 [...]
Please fill in the following fields
* - Required
Your Name: *
Your E-Mail: *
Your Remarks:
Friend's Name: *
Friend's E-Mail: *