Web Hosting Talk







View Full Version : Webalizer shown to Public


andy18
12-03-2002, 03:46 PM
Hi,

Is there a way to show the webalizer stats in Cpanel to the public without any login to the Cpanel.




Andy

KualoJo
12-03-2002, 04:21 PM
Yep, set up two crons on the domain in question and have them run at say midnight every day:

chmod 644 /home/user/public_html/stats/* 2>/dev/null 1>/dev/null

unalias cp && cp -aRf /home/user/tmp/webalizer/* /home/user/public_html/stats/ 1>/dev/null 2>/dev/null

Obviously, replace "user" with the account username. That will put the stats into a public folder called /stats and update it once a day.

Hope that helps :)