twrs
01-16-2003, 02:07 AM
I was looking for webalizer.conf and couldn't find it in my CPanel server. So how do I configure Webalizer in CPanel?
Thanks for the info!
Thanks for the info!
![]() | View Full Version : How do I configure Webalizer in CPanel? twrs 01-16-2003, 02:07 AM I was looking for webalizer.conf and couldn't find it in my CPanel server. So how do I configure Webalizer in CPanel? Thanks for the info! RHCE 01-16-2003, 02:37 PM Hello, You can use the following URL to run webalazier manully in cpanel with custom options /usr/local/cpanel/3rdparty/bin/webalizer -N10 -D /home/usertmp/webalizer/dns_cache.db -R250 -p -n domain.com -o /home/user/tmp/webalizer domain.com Usage: /usr/local/cpanel/3rdparty/bin/webalizer [options] [log file] -h = print this help message -v -V = print version information -d = print additional debug info -F type = Log type. type= (clf | ftp | squid) -f = Fold sequence errors -i = ignore history file -p = preserve state (incremental) -q = supress informational messages -Q = supress _ALL_ messages -Y = supress country graph -G = supress hourly graph -H = supress hourly stats -L = supress color coded graph legends -l num = use num background lines on graph -m num = Visit timout value (seconds) -T = print timing information -c file = use configuration file 'file' -n name = hostname to use -o dir = output directory to use -t name = report title 'name' -a name = hide user agent 'name' -r name = hide referrer 'name' -s name = hide site 'name' -u name = hide URL 'name' -x name = Use filename extension 'name' -P name = Page type extension 'name' -I name = Index alias 'name' -A num = Display num top agents -C num = Display num top countries -R num = Display num top referrers -S num = Display num top sites -U num = Display num top URLs -e num = Display num top Entry Pages -E num = Display num top Exit Pages -g num = Group Domains to 'num' levels -X = Hide individual sites -D name = Use DNS Cache file 'name' -N num = Number of DNS processes (0=disable) Make sure that you are under the folder /usr/local/apache/domlogs Hope this helps you. twrs 01-16-2003, 02:51 PM Thanks, where can I get the crontab that runs Webalizer everyday? I may need to configure it directly from there. RHCE 01-16-2003, 02:55 PM give the command in crontab :cool: twrs 01-16-2003, 04:08 PM Isn't there a current Webalizer command that's already run daily? I just need to know where CPanel stores this particular cronjob? The default cronjob for root doesn't give any much hint. sailorFred 08-29-2005, 08:28 PM Create an /etc/webalizer.conf or ~/webalizer.conf with the configuration you want. CPanel runs it from /usr/local/cpanel/cpanellogd, with these parameters: -N 10 -D $homedir/tmp/webalizer/dns_cache.db -R 250 -p -n ${access_log_name} -o $homedir/tmp/webalizer ${waccess_log}" As long as you don't need to override these parameters you'll be OK. Webalizer looks in these directories for the .conf file if it hasn't been specified on the command line. |