LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   webalizer setup for virtual hosts (https://www.linuxquestions.org/questions/linux-security-4/webalizer-setup-for-virtual-hosts-294883/)

intranet_man 02-25-2005 04:21 PM

webalizer setup for virtual hosts
 
I've setup webalizer just fine for all my virtual hosts. However, the only statistics page that contains the "referrer" options is my main host (which is itself a virtual host).

Each webalizer.conf files for the virtual hosts is contained in:
/var/lib/webalizer/<this_virtual_host_0>.conf
/var/lib/webalizer/<this_virtual_host_1>.conf
...
/var/lib/webalizer/<this_virtual_host_N>.conf

Within each virutal hosts I have something similar to:

<VirtualHost thisdomain>
ServerName this_server_name # this is the web page
DocumentRoot /var/www/this_server_name
CustomLog /var/log/httpd/this_domain_com/access_log "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
</VirtualHost>

Within the webalizer conf file for <this_virtual_host_x>.conf I have:

Log_File = /var/log/httpd/this_server_name/access_log
OutputDir /var/lib/httpd/this_server_name/usage
HistoryName /var/lib/webalizer/this_server_name.hist
Incremental = Yes
IncrementalName /var/lib/webalizer/this_server_name.current
HostName www.this_server_name.com
PageType htm*
PageType cgi
DNSCache /var/lib/webalizer/this_server_name.db
DNSChildren 10
Quiet Yes
DailyGraph Yes
DailyStats Yes
HourlyGraph Yes
HourlyStats Yes
TopReferrers 30
AllReferrers yes
<...and of course allow all search engines>

Any ideas, comments would be great

intranet_man 03-03-2005 12:00 PM

BTW
 
Thanks for the help. :P


All times are GMT -5. The time now is 05:50 PM.