apache access and error log written in same file
- by user196075
i have issue that access and error log are written in same file ! , the configuration in virtualhosts.conf as the following :
<VirtualHost *:80>
ServerName ************
ServerAdmin support@************8
DocumentRoot /var/www/html/*********.com
ErrorLog /var/log/httpd/********/********.com_error_log
CustomLog /var/log/httpd/********/********.com_access_log combined
<Directory /var/www/html/***********.com>
Options -Indexes FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>
as you see from the configuration each access and error logs should be save separately , but both logs are written in *.com_access_log , i have double check all permission , group and owner ... can't find anything wrong
previous error in log file :
[Thu Sep 19 14:15:02 2013] [error] [client 192.168.10.54] client denied by server configuration: /var/www/html/**********/show_has_offers.php
i have tried to generate same error , i can find the hit in access log only as the following :
192.168.10.75 - - [24/Oct/2013:08:11:14 +0000] "GET /show_has_offers.php HTTP/1.1" 404 1586 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0" 0 17332
and nothing in error log !!
Please advice ...