ispCP - Board - Support
Awstats doesn't work - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Awstats doesn't work (/thread-4356.html)

Pages: 1 2


Awstats doesn't work - KeNt - 09-25-2008 11:16 PM

hi all
when upgrade to RC6 I have a trouble with Awstats
screenshot [attachment=467] when access http://site/stats
awstats script collect statistics but I can't see it


RE: Awstats doesn't work - BeNe - 09-25-2008 11:33 PM

Please use:
Code:
http://www.yourdomain.tld/stats/

If this also not works, check you ApacheConfig about the "/stats/" and your mod_proxy config.

Greez BeNe


RE: Awstats doesn't work - KeNt - 09-25-2008 11:41 PM

Code:
/etc/apache2/sites-enabled# cat ispcp.conf | grep stats
    # httpd awstats support BEGIN.
    Alias /stats    /var/www/virtual/xxxxxxxx/statistics/
        DirectoryIndex awstats.xxxxxxxx.html

Code:
/etc/apache2/mods-enabled# cat proxy.conf
<IfModule mod_proxy.c>
        #turning ProxyRequests on and allowing proxying from all may allow
        #spammers to use your proxy to send email.

        ProxyRequests Off

        <Proxy *>
                AddDefaultCharset off
                Order deny,allow
                Deny from all
                Allow from 127.0.0.1

        # Define the character set for proxied FTP directory listings
        ProxyFtpDirCharset UTF-8
        </Proxy>

        # Enable/disable the handling of HTTP/1.1 "Via:" headers.
        # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
        # Set to one of: Off | On | Full | Block

        ProxyVia On
</IfModule>

Code:
/etc/apache2/mods-enabled# cat proxy.load
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so


where is bug?


RE: Awstats doesn't work - KeNt - 09-25-2008 11:44 PM

Quote:Please use:
I trying all variants
with www and no


RE: Awstats doesn't work - BeNe - 09-26-2008 12:33 AM

And the "/" on the end ?
Code:
http://www.yourdomain.tld/stats/

Greez BeNe


RE: Awstats doesn't work - KeNt - 09-26-2008 12:35 AM

BeNe Wrote:And the "/" on the end ?
Code:
http://www.yourdomain.tld/stats/

Greez BeNe

Yes, I have tried all variants


RE: Awstats doesn't work - BeNe - 09-26-2008 12:37 AM

Ok!
You use AWStats Static ?
What happend if you start the AWStats Cron entry manually ??

Greez BeNe


RE: Awstats doesn't work - KeNt - 09-27-2008 12:25 AM

Code:
# cat /etc/ispcp/ispcp.conf | grep AWST
# AWSTATS data
AWSTATS_ACTIVE = yes
AWSTATS_MODE = 1
AWSTATS_CACHE_DIR = /var/cache/awstats
AWSTATS_CONFIG_DIR = /etc/awstats
AWSTATS_ENGINE_DIR = /usr/lib/cgi-bin
AWSTATS_WEB_DIR = /usr/share/awstats
AWSTATS_ROOT_DIR = /var/www/ispcp/engine/awstats

when start manually I have no errors and awstats work good


RE: Awstats doesn't work - BeNe - 09-27-2008 12:27 AM

So AWStats create your HTML Files in the stats directorys ?

Greez BeNe


RE: Awstats doesn't work - KeNt - 09-27-2008 12:39 AM

Code:
ls statistics/ -la
total 8
drwxr-xr-x  2 vu2002 vu2002   4096 2008-09-22 23:37 .
drwxrwx--- 10 vu2002 www-data 4096 2008-09-23 02:00 ..