nixCraft Linux Forum

nixCraft

Linux 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

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 10-07-2007, 07:16 PM
Junior Member
User
 
Join Date: Oct 2007
My distro: RedHat,CentOS
Posts: 3
Rep Power: 0
Debug is on a distinguished road
Send a message via MSN to Debug Send a message via Yahoo 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
Sponsored Links
  #2 (permalink)  
Old 10-08-2007, 12:50 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 917
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 | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #3 (permalink)  
Old 10-08-2007, 03:22 PM
Junior Member
User
 
Join Date: Oct 2007
My distro: RedHat,CentOS
Posts: 3
Rep Power: 0
Debug is on a distinguished road
Send a message via MSN to Debug Send a message via Yahoo to Debug
Thumbs up

Hi,

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

Bookmarks


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 On

Similar Threads

Thread Thread Starter Forum Replies Last Post
lighttpd ProxyPass thunderbirdsei Web servers 0 04-30-2008 10:50 PM
Apache and lighttpd together anjanesh Web servers 4 08-29-2007 05:11 PM
software RAID1 sumit Linux hardware 1 07-17-2007 01:24 AM
how to configure webalizer asim.mcp Linux software 2 08-25-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 04:42 AM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

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