Jump to content

Apache Log Rewrites?


random1

Recommended Posts

Hi I have the code:

 

# Write log info for rewrites
<IfModule mod_rewrite.c>
RewriteLog "/usr/local/var/apache/logs/rewrite.log"
RewriteLogLevel 9
</IfModule>

 

I add this code to my .htaccess file and I get the error:

 

RewriteLog not allowed here

 

Any ideas where this code needs to appear?

Link to comment
https://forums.phpfreaks.com/topic/214790-apache-log-rewrites/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.