I have to set my RewriteLogLevel in MAMP to determine some mod_rewrite problems.

I place the below lines during my httpd.conf and my local .htaccess file, but I'm not getting a output log. How do you set this up properly?

RewriteLogLevel 9

RewriteLog "rewrite.log"

Use a complete path like /var/log/httpd/rewrite.log.

Also make certain you've mod_rewrite switched on.

Apache generally does not enable mod_rewrite automatically, so you may want to increase the records for your httpd.conf file.

For example, did you devote an entry for LoadModule that indicates the mod_rewrite.so module?

Take a look link for particulars:


Also, be sure to restart Apache to check your changes.