ispCP - Board - Support
AWStats does not work in r857 ?! - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: AWStats does not work in r857 ?! (/thread-1541.html)

Pages: 1 2


RE: AWStats does not work in r857 ?! - zpin - 10-16-2007 07:33 PM

Another bug in awstats static, in the ispcp cron.d script:
Code:
# AWStats static tasks START.
This only allows for one entry at a time. It should be something like
Code:
# [{DMN_NAME}] AWStats static tasks START.
Same goes for the end tag.

/edit: I've added a patch to the ticket: http://www.isp-control.net/ispcp/ticket/7#comment:24


RE: AWStats does not work in r857 ?! - robmorin - 10-24-2007 01:44 AM

But there is no /statistics/ dir in the domain dir?? is this made by domain setup ??


zpin Wrote:I've had a look at the cpu usage during awstats dynamic browsing and it's rather high. I think I'll switch back to static so it doesn't affect the gameservers too much (because with static I can chose at which time it generates the cpu load, plus I can nice it down a bit).
I think all that is needed for it to work is the following in a vhost domain entry:
Code:
Alias /stats    /{WWW_DIR}/{DMN_NAME}/statistics/

    <Directory "/{WWW_DIR}/{DMN_NAME}/statistics">
        AllowOverride None
        DirectoryIndex awstats.{DMN_NAME}.html
        Order allow,deny
        Allow from all
    </Directory>

in the dmn mngr we could then just substitute the current awstats template with this one when awstats mode is 1.



RE: AWStats does not work in r857 ?! - zpin - 10-24-2007 03:45 AM

should be created when you have selected awstats static in the ispcp config...