random1 Posted September 30, 2010 Share Posted September 30, 2010 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 More sharing options...
trq Posted September 30, 2010 Share Posted September 30, 2010 RewriteLog needs to go within either your main httpd.conf file or your vhost config. It cannot be placed within a .htaccess file. Link to comment https://forums.phpfreaks.com/topic/214790-apache-log-rewrites/#findComment-1117444 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.