Awstats Problem

Discussion in 'Installation/Configuration' started by NightRanger, Feb 12, 2008.

  1. NightRanger

    NightRanger New Member

    Awstats Problem (SOLVED)

    Hi,

    i have installed fedora 8 perfect server
    everything is working great except the awstats feature

    i followed all the istructions in the awstats how to and searched around the forum for a solution but had no luck

    when i login to awstats http://mydomain.com/awstats/ i get the login box
    i enter my user name and password and get a 404 page not found error
    (the webalizer is working great)

    i have one site which is web1

    here is the content of /var/www/web1/web/awstats/

    Code:
    awstats022008.www.blackbox.org.il.txt
    awstats.www.blackbox.org.il.2008-02.alldomains.html
    awstats.www.blackbox.org.il.2008-02.allhosts.html
    awstats.www.blackbox.org.il.2008-02.allrobots.html
    awstats.www.blackbox.org.il.2008-02.browserdetail.html
    awstats.www.blackbox.org.il.2008-02.errors404.html
    awstats.www.blackbox.org.il.2008-02.html
    awstats.www.blackbox.org.il.2008-02.keyphrases.html
    awstats.www.blackbox.org.il.2008-02.keywords.html
    awstats.www.blackbox.org.il.2008-02.lasthosts.html
    awstats.www.blackbox.org.il.2008-02.lastrobots.html
    awstats.www.blackbox.org.il.2008-02.osdetail.html
    awstats.www.blackbox.org.il.2008-02.refererpages.html
    awstats.www.blackbox.org.il.2008-02.refererse.html
    awstats.www.blackbox.org.il.2008-02.session.html
    awstats.www.blackbox.org.il.2008-02.unknownbrowser.html
    awstats.www.blackbox.org.il.2008-02.unknownip.html
    awstats.www.blackbox.org.il.2008-02.unknownos.html
    awstats.www.blackbox.org.il.2008-02.urldetail.html
    awstats.www.blackbox.org.il.2008-02.urlentry.html
    awstats.www.blackbox.org.il.2008-02.urlexit.html
    index.php
    
    i hope someone can help me solve this issue

    thank you in advance,

    Shai.
     
    Last edited: Feb 12, 2008
  2. jnsc

    jnsc rotaredoM Moderator

    Is php enabled for this domain? The new (yet unreleased) version of my awstats script will not depend anymore on php. But until it's released php is needed.
     
  3. NightRanger

    NightRanger New Member

    thank you for the quick reply

    i think php is activated i have word press working on this web account
     
  4. jnsc

    jnsc rotaredoM Moderator

    ok, then have a look in your apache error logs. Because I see that index.php is present, and you get a 404, so there is surely a path problem.
     
  5. NightRanger

    NightRanger New Member

    Thank you for the advice,i checked the logs here are the results after trying to access awstats

    i dont know what to look for :eek:

    Code:
    [Tue Feb 12 10:29:58 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
    [Tue Feb 12 10:29:58 2008] [notice] mod_python: using mutex_directory /tmp 
    [Tue Feb 12 10:30:00 2008] [error] an unknown filter was not added: PHP
    [Tue Feb 12 10:30:00 2008] [error] an unknown filter was not added: PHP
    [Tue Feb 12 10:30:00 2008] [notice] Apache/2.2.6 (Unix) DAV/2 mod_auth_kerb/5.3 mod_auth_pgsql/2.0.3 mod_ssl/2.2.6 OpenSSL/0.9.8b Apache/2.2.0 (Fedora) PHP/5.2.4 mod_python/3.3.1 Python/2.5.1 mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
    [Tue Feb 12 10:30:11 2008] [notice] caught SIGTERM, shutting down
    [Tue Feb 12 10:30:12 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Tue Feb 12 10:30:13 2008] [notice] ModSecurity for Apache 2.1.3 configured - Apache/2.2.6 (Fedora)
    [Tue Feb 12 10:30:13 2008] [notice] Digest: generating secret for digest authentication ...
    [Tue Feb 12 10:30:13 2008] [notice] Digest: done
    [Tue Feb 12 10:30:14 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
    [Tue Feb 12 10:30:14 2008] [notice] mod_python: using mutex_directory /tmp 
    [Tue Feb 12 10:30:14 2008] [notice] Apache/2.2.6 (Unix) DAV/2 mod_auth_kerb/5.3 mod_auth_pgsql/2.0.3 mod_ssl/2.2.6 OpenSSL/0.9.8b Apache/2.2.0 (Fedora) PHP/5.2.4 mod_python/3.3.1 Python/2.5.1 mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
    [Tue Feb 12 14:35:33 2008] [error] an unknown filter was not added: PHP
    [Tue Feb 12 14:35:33 2008] [error] an unknown filter was not added: PHP
    
    hope someone can see the problem

    thanx.
     
  6. NightRanger

    NightRanger New Member

    I found the solution on another post

    just renamed the /etc/httpd/conf.d/awstats.conf

    thanks for the help
     

Share This Page