Why do I get "RewriteLog not allowed here" when I try to start Apache
Posted on 2007-11-18
I am trying to use mod_rewrite in Apache. When I try to turn on rewrite logging I get the "Rewritelog not allowed here" message.
I am running multiple virtual hosts and this is the vhosts file for host in question:
AddHandler fcgid-script .php .php5
SuexecUserGroup proman psacln
FCGIWrapper /var/<...>/bin/php5 .php
FCGIWrapper /var/<...>/bin/php5 .php5
allow from all
RewriteLog "/var/log/httpd/promanage_rewrite.log" # this is the line referenced in the error message.
RewriteRule ^/js/analytics\.js$ lytics.php [QSA,L]
I have tried to put the log file in various places and nothing changes.
I have duplicated the permissions of other log files in the system to no avail.
If more info is needed, let me know.