Logging mod_rewrite on Apache 2.2
问题 I am trying to troubleshoot mod_rewrite on Apache2.2.15 operating on Centos 6.5. My httpd.conf file is as follows: <VirtualHost *:80> ServerName somesite.com DocumentRoot /var/www/somesite/html <Directory "/var/www/somesite/html"> <IfModule mod_rewrite.c> RewriteEngine On RewriteLog /var/log/httpd/rewrite.log RewriteLogLevel 3 </IfModule> </Directory> </VirtualHost> I keep on getting the following error where line 1044 corresponds to RewriteLog /var/log/httpd/rewrite.log . [root@devserver