ispCP - Board - Support
[HowTo] AwStats Static Pages - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Howtos (/forum-41.html)
+--- Thread: [HowTo] AwStats Static Pages (/thread-295.html)

Pages: 1 2 3 4 5 6


RE: [HowTo] AwStats Static Pages - petzsch - 04-27-2007 01:39 PM

Some notes from my site:

- Something that I allready commented on when the cron engine was used for backups: All the taks rund on the same time, so with an apropiate amount of domains, you will have quite a problem when they start running => solution would be to append the tasks to a shell script which executes all commands one after the other
- you shouldn't copy the awstats_buildstaticpages.pl from the doc folder, perhaps a symlink will do and you will also profit of debian's updates to the package if there are any


RE: [HowTo] AwStats Static Pages - ephigenie - 04-27-2007 08:34 PM

yeah thats a good point - you're right.

my servers are stressed a lot with backups & co , too Wink


RE: [HowTo] AwStats Static Pages - SniperSister - 04-28-2007 07:16 PM

Hm okay, i'll try to write a shellscript to realize this...
I'm a little stressed these days, so it can take a while. Sry Wink


RE: [HowTo] AwStats Static Pages - donnie-darko - 05-08-2007 07:50 AM

a statistic for subdomains where also very good Wink


RE: [HowTo] AwStats Static Pages - SniperSister - 05-08-2007 10:26 PM

donnie-darko Wrote:a statistic for subdomains where also very good Wink

Hm okay, this should be possible...I'll take a look at this in the next days.


gruny Wrote:SniperSister - my icons are not displaying, how to fix this?
I updated the HowTo, so at least the icon problem should be fixed.


RE: [HowTo] AwStats Static Pages - grungy - 05-09-2007 05:24 PM

I took a look in /var/spool/cron/crontabs/root file and there are still entries for domains that were deleted.

Code:
# [deleted-domain.com] backup task START.
40 23  * * *   perl /var/www/vhcs2/engine/awstats/awstats_buildstaticpages.pl -config=deleted-domain.com -update -lang=en -awstatsprog=/usr/lib/cgi-bin/awstats.pl -dir=/var/www/virtual/deleted-domain.com/statistics/
# [deleted-domain.com] backup task END.



RE: [HowTo] AwStats Static Pages - grungy - 05-18-2007 11:11 PM

SniperSister Wrote:Afterwards, edit /etc/ispcp/apache/parts/vhcs2_base.tpl and remove this line again (why doubly?!):

/etc/ispcp/apache/parts/vhcs2_base.tpl - you mean /etc/ispcp/apache/parts/ispcp_base.tpl


And the template should be named awstats.ispcp_tpl.conf instead of awstats.vhcs_tpl.conf


RE: [HowTo] AwStats Static Pages - grungy - 05-18-2007 11:17 PM

SniperSister Wrote:The next step is to link the awstats staticpages script into the right directory:
Code:
ln -s /var/www/ispcp/engine/awstats /var/www/ispcp/engine/awstats

Why do you link a dir to itself?


RE: [HowTo] AwStats Static Pages - SniperSister - 05-19-2007 07:06 PM

grungy Wrote:/etc/ispcp/apache/parts/vhcs2_base.tpl - you mean /etc/ispcp/apache/parts/ispcp_base.tpl

And the template should be named awstats.ispcp_tpl.conf instead of awstats.vhcs_tpl.conf

Corrected.

grungy Wrote:Why do you link a dir to itself?

Yeah, you're right...that's pretty stupid^^
I replaced it with the correct link.

Thanks for help!


RE: [HowTo] AwStats Static Pages - grungy - 05-23-2007 05:10 AM

SniperSister Wrote:
Code:
ln -s /var/www/awstats/icon /usr/share/awstats/icon

This should be ln -s /usr/share/awstats/icon /var/www/awstats/icon