![]() |
awstats static not working - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: awstats static not working (/thread-3716.html) |
awstats static not working - ralph - 07-09-2008 03:55 PM in the install i chose awstats and static pages. when i go to domain.com/stats the dir is empty. are there any cron jobs im missing? i chose static because of awstats security, how do i change to dynamic? how is the security in the ispcp implementation of awstats? my setup is freshly installed debian lenny with newest omega rc5(+a). RE: awstats static not working - itanium - 07-09-2008 09:13 PM Hello, This problem is due to the cronjob. The directory specified is invalid. It should be /var/www/sites/xxx.com/statistics. I reinstall and I look this. RE: awstats static not working - itanium - 07-10-2008 01:31 AM Problem is the path in the cron ispcp: Code: 1 3 * * * root perl /var/www/ispcp/engine/awstats/awstats_buildstaticpages.pl -config=xxx.com -update -lang=fr -awstatsprog=/usr/lib/cgi-bin/awstats.pl -dir=/usr/share/awstats/xxxx/statistics/ >/dev/null 2>&1 The good cron is: Code: 1 3 * * * root perl /var/www/ispcp/engine/awstats/awstats_buildstaticpages.pl -config=xxx.com -update -lang=fr -awstatsprog=/usr/lib/cgi-bin/awstats.pl -dir=/var/www/virtual/xxx.com/statistics >/dev/null 2>&1 Patch: change in /etc/ispcp: AWSTATS_WEB_DIR = /usr/share/awstats to AWSTATS_WEB_DIR = /var/www/virtual also icon isn't showing because the path is wrong. RE: awstats static not working - ralph - 07-30-2008 03:35 PM how do i make ispcp remake these crons? ive updated the ispcp.conf, but the crons arent changed RE: awstats static not working - julli - 08-07-2008 05:53 AM Hi. Open ispcp.conf -> /etc/ispcp/ispcp.conf Edit this AWSTATS_WEB_DIR = /usr/share/awstats From this AWSTATS_WEB_DIR = /var/www/virtual save and close ispcp.conf if need, edit /etc/cron.d/ispcp and /etc/ispcp/cron.d/working EG /etc/cron.d/ispcp & /etc/ispcp/cron.d/working Edit # [yourdomain.com] AWStats static tasks START. 6 3 * * * root perl /var/www/ispcp/engine/awstats/awstats_buildstaticpages.pl -config=yourdomain.com -update -lang=en -awstatsprog=/usr/lib/cgi-bin/awstats.pl -dir=/usr/share/awstats/yourdomain.com/statistics/ >/dev/null 2>&1 # [yourdomain.com] AWStats static tasks END. From this # [yourdomain.com] AWStats static tasks START. 6 3 * * * root perl /var/www/ispcp/engine/awstats/awstats_buildstaticpages.pl -config=yourdomain.com -update -lang=en -awstatsprog=/usr/lib/cgi-bin/awstats.pl -dir=/var/www/virtual/yourdomain.com/statistics/ >/dev/null 2>&1 # [yourdomain.com] AWStats static tasks END. |