Find the
Then restart the server.
Now when you access the website a detail log is created in
Important Tips:
httpd.conf in your server. For me this was located at c:\xampp\apache\conf\httpd.conf. Then add the following two lines at the end of the file.RewriteLog "c:/path_to_your_website/rewrite_log.txt" RewriteLogLevel 5
Then restart the server.
Now when you access the website a detail log is created in
rewrite_log.txt on how the htaccess instructions are processed.Important Tips:
- The best way to debug is before you access any URI on your website clean
rewrite_log.txtfile. This way atleast you know where to start. - After debugging is complete remove or comment out the above two lines in
httpd.conffile. If you don't do this therewrite_log.txtwill keep on growing in the background taking up your precious harddisk space.
No comments:
Post a Comment