In Apache 2.4, open up httpd.conf and find the line that starts with LogLevel.
Change that to:
LogLevel alert rewrite:trace6
And restart Apache.
Your error.log (in \apache\logs\ typically) will have the detailed trace of the rewrite rules. Example: http://snippi.com/s/c75uk61
More info: http://httpd.apache.org/docs/current/mod/mod_rewrite.html#logging
very helpful article and thanks for sharing this helpful article with us.