ultrabook
01-24-2003, 08:11 PM
I am attempting to setup Webalizer on not only the main host but also with my Virtual Hosts. Each Virtual Host is setup to create its own log as follows.
<VirtualHost *:80>
ServerAdmin hostmaster@defragmented.net
DocumentRoot /home/defdynamo/public_html
ServerName defdynamo.defragmented.net
ServerAlias *.defdynamo.defragmented.net
ErrorLog logs/defdynamo.defragmented.net-error_log
CustomLog logs/defdynamo.defragmented.net-access_log common
</VirtualHost>
I am confused though, because when I look in the /var/log/httpd directory there are 5 logs for each VHost as follows.
defdynamo.defragmented.net-access_log(different file type)
defdynamo.defragmented.net-access_log.1
defdynamo.defragmented.net-access_log.2
defdynamo.defragmented.net-access_log.3
defdynamo.defragmented.net-access_log.4
I had a basic configuration of Webalizer setup not worrying about the VHosts and had it pointing to the main access_log in /var/log/httpd, but this file doesn't seem to be active as it is 0 bytes and contains no information. Was curious how to activate this in httpd.conf. My configuration of httpd.conf with regard to this appears as follows.
CustomLog logs/access_log common
Any help is greatly appreciated!
<VirtualHost *:80>
ServerAdmin hostmaster@defragmented.net
DocumentRoot /home/defdynamo/public_html
ServerName defdynamo.defragmented.net
ServerAlias *.defdynamo.defragmented.net
ErrorLog logs/defdynamo.defragmented.net-error_log
CustomLog logs/defdynamo.defragmented.net-access_log common
</VirtualHost>
I am confused though, because when I look in the /var/log/httpd directory there are 5 logs for each VHost as follows.
defdynamo.defragmented.net-access_log(different file type)
defdynamo.defragmented.net-access_log.1
defdynamo.defragmented.net-access_log.2
defdynamo.defragmented.net-access_log.3
defdynamo.defragmented.net-access_log.4
I had a basic configuration of Webalizer setup not worrying about the VHosts and had it pointing to the main access_log in /var/log/httpd, but this file doesn't seem to be active as it is 0 bytes and contains no information. Was curious how to activate this in httpd.conf. My configuration of httpd.conf with regard to this appears as follows.
CustomLog logs/access_log common
Any help is greatly appreciated!