nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Webalizer statistics software on lighttpd

This is a discussion on Webalizer statistics software on lighttpd within the Web servers forums, part of the Mastering Servers category; Hello, How I can configure Webalizer statistics software on lighttpd for multiple domains. Regards, Debug...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-10-2007, 07:16 PM
Junior Member
User
 
Join Date: Oct 2007
Location: Earth
OS: RedHat,CentOS
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Debug is on a distinguished road
Send a message via MSN to Debug
Thumbs up Webalizer statistics software on lighttpd

Hello,

How I can configure Webalizer statistics software on lighttpd for
multiple domains.


Regards,
Debug
Reply With Quote
  #2 (permalink)  
Old 08-10-2007, 12:50 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

/etc/cron.daily/00webalizer - master script to create reports for all domains:

vi /etc/cron.daily/00webalizer
Code:
#! /bin/bash
# update access statistics for the web site
BASE=/webroot
/usr/bin/webalizer -c ${BASE}/home/lighttpd/domain1.com/stats/webalizer.conf
/usr/bin/webalizer -c ${BASE}/home/lighttpd/domain2.com/stats/webalizer.conf
/usr/bin/webalizer -c ${BASE}/home/lighttpd/domain3.com/stats/webalizer.conf
Here is /webroot/home/lighttpd/domain1.com/stats/webalizer.conf for domain1.com

Code:
LogFile /webroot/var/log/lighttpd/domain1.com/access.log
LogType clf     
OutputDir     /webroot/home/lighttpd/domain1.com/stats/out
HistoryName   /webroot/home/lighttpd/domain1.com/stats/webalizer.hist
Incremental     yes
IncrementalName /webroot/home/lighttpd/domain1.com/stats/webalizer.current
HostName       domain1.com
PageType        htm*
PageType        cgi
PageType        php
PageType        shtml
DNSCache      /tmp/dns_cache.db
DNSChildren     0
Quiet           yes
FoldSeqErr      yes
AllSearchStr    yes
HideSite        domain1.com
HideSite        localhost
HideReferrer    domain1.com
HideURL         *.gif
HideURL         *.GIF
HideURL         *.jpg
HideURL         *.JPG
HideURL         *.png
HideURL         *.PNG
HideURL         *.ra
GroupReferrer   yahoo.com/      Yahoo!
GroupReferrer   excite.com/     Excite
GroupReferrer   infoseek.com/   InfoSeek
GroupReferrer   webcrawler.com/ WebCrawler
SearchEngine    yahoo.com       p=
SearchEngine    altavista.com   q=
SearchEngine    google.com      q=
SearchEngine    eureka.com      q=
SearchEngine    lycos.com       query=
SearchEngine    hotbot.com      MT=
SearchEngine    msn.com         MT=
SearchEngine    infoseek.com    qt=
SearchEngine    webcrawler      searchText=
SearchEngine    excite          search=
SearchEngine    netscape.com    search=
SearchEngine    mamma.com       query=
SearchEngine    alltheweb.com   query=
SearchEngine    northernlight.com  qr=
Now all you have to do is create /webroot/home/lighttpd/domain2.com/stats/webalizer.conf for domain2.com and so on.

Hope this helps out!
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 08-10-2007, 03:22 PM
Junior Member
User
 
Join Date: Oct 2007
Location: Earth
OS: RedHat,CentOS
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Debug is on a distinguished road
Send a message via MSN to Debug
Thumbs up

Hi,

Thank you very much for your help, the problem has been fixed.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
lighttpd ProxyPass thunderbirdsei Web servers 0 30-04-2008 10:50 PM
Apache and lighttpd together anjanesh Web servers 4 29-08-2007 05:11 PM
software RAID1 sumit Linux hardware 1 17-07-2007 01:24 AM
how to configure webalizer asim.mcp Linux software 2 25-08-2006 10:16 AM
VC++ like software on linux chiku Linux software 2 02-02-2005 02:14 PM


All times are GMT +5.5. The time now is 01:17 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38