httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Reilly <>
Subject [users@httpd] access.log
Date Sat, 15 Dec 2007 16:30:35 GMT
good morning,

this is not a huge deal, but more frustrating than anything i have
encountered with linux.  i cannot seem to get this right, apache2 cannot
write to access log files in /var/log/apache2/.  the error log is still
churning along fine.  i have checked permissions, all files inside
apache2 folder are all 640, owned by root, and root file group.  the
apache folder itself is owned by root, and root filegroup 640.  i have
custom log directive in virtual server config to create a separate
access log for 4 sites.  it does not even create the custom logs when i
restart apache.  i tried making the logs myself with the correct
permissions, and apache still will not write to them. 

as a last resort, i removed apache and reinstalled.......  perfect! 
apache was now writing again to the access logs......  BUT for only a
short time then stopped AGAIN!   good lord, what is going on here? I
changed nothing since reinstalling apache2. the only thing i did was re
install php5.

my question is what is the correct permissions for the access.log
itself, and also for the apache2 folder within /var/log?  anything ive
ever read said as long as www-data can write to it, all should be
fine.   its obvious www-data can write to  /var/log/apache2 because it
is doing so with error.log right now.

virtual server config is here

thanks for your help!


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message