Debug apache rewrite

Add these two line to your httpd.conf immediately after RewriteEngine On.

`RewriteLog “/var/log/httpd/rewrite_log”```

RewriteLogLevel 9