LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-25-2005, 04:21 PM   #1
intranet_man
LQ Newbie
 
Registered: Dec 2004
Distribution: RHEL 3/4, Fedora 3, dynebolic, Knoppix
Posts: 23

Rep: Reputation: 15
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
 
Old 03-03-2005, 12:00 PM   #2
intranet_man
LQ Newbie
 
Registered: Dec 2004
Distribution: RHEL 3/4, Fedora 3, dynebolic, Knoppix
Posts: 23

Original Poster
Rep: Reputation: 15
BTW

Thanks for the help. :P
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache-ssl setup virtual hosts notolerance Linux - Software 3 12-22-2005 04:20 PM
Red Hat 9 GUI Virtual Hosts setup yellowjelly Red Hat 2 12-21-2004 06:29 PM
Setting up webalizer for virtual host hct224 Linux - Newbie 18 11-10-2004 03:31 PM
Webalizer on virtual hosts? lucastic Linux - Networking 22 09-18-2004 04:43 PM
How to setup virtual hosts for a web site? George2 Linux - Software 4 10-21-2003 03:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration