Current time: 06-29-2024, 02:45 PM Hello There, Guest! (LoginRegister)


Post Reply 
[ERLEDIGT] awstats Problem
Author Message
decoderone Offline
Junior Member
*

Posts: 11
Joined: Aug 2007
Reputation: 0
Post: #1
[ERLEDIGT] awstats Problem
Hallo zusammen,

ich hoffe ihr könnt mir eben mit einer Gedankenstütze aushelfen. Ich habe bei einem Nightly Build von Ende November versucht AWSTATS im nachhinein zu aktivieren wie nach der Anleitung in diesem Forum. Die Statistiken werden auch generiert. Leider klemmt es nun am folgenden:
Sobald ich http://www.domain.com/stats/ aufrufe bekomme ich folgenden Fehler:
Not Found

The requested URL /stats/domain.com/ was not found on this server.

im Error-Log von Apache steht dann folgendes [error] [client 127.0.0.1] File does not exist: /htdocs .

Könnt ihr mir vielleicht weiterhelfen?

greetz
(This post was last modified: 02-07-2008 02:42 AM by BeNe.)
02-06-2008 08:36 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: awstats Problem
Da feht die wohl mod_proxy beim Apache.
Ist mod_proxy aktiv ?

Greez BeNe
02-06-2008 08:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
decoderone Offline
Junior Member
*

Posts: 11
Joined: Aug 2007
Reputation: 0
Post: #3
RE: awstats Problem
ja sorry hab ich vergessen dazu zu schreiben:
# a2dismod
Which module would you like to disable?
Your choices are: actions alias auth_basic authn_file authz_default authz_groupfile authz_host authz_user autoindex cgid dav dav_svn dir env fastcgi_ispcp mime negotiation proxy_http proxy rewrite setenvif status suexec
Module name?
02-06-2008 08:49 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #4
RE: awstats Problem
Hast Du mal hier geschaut. Ist das selbe Problem das Du hast:

http://www.isp-control.net/forum/awstats...-2149.html
02-06-2008 09:22 PM
Visit this user's website Find all posts by this user Quote this message in a reply
decoderone Offline
Junior Member
*

Posts: 11
Joined: Aug 2007
Reputation: 0
Post: #5
RE: awstats Problem
gOOvER Wrote:Hast Du mal hier geschaut. Ist das selbe Problem das Du hast:

http://www.isp-control.net/forum/awstats...-2149.html
ja da hab ich bereits gestöbert. Mir ist aufgefallen das die 01_awstats nicht im sites_enabled pfad zu finden ist. nach dem verlinken bekomm ich jetzt ein Forbidden.

Im error-log findet man nun:
[error] [client 127.0.0.1] client denied by server configuration: proxy:http://localhost/awstats/
(This post was last modified: 02-06-2008 10:00 PM by decoderone.)
02-06-2008 09:56 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #6
RE: awstats Problem
Und hast Du noch was an der Config verändert ?
Poste diese mal bitte.

Greez BeNe
02-07-2008 12:34 AM
Visit this user's website Find all posts by this user Quote this message in a reply
decoderone Offline
Junior Member
*

Posts: 11
Joined: Aug 2007
Reputation: 0
Post: #7
RE: awstats Problem
BeNe Wrote:Und hast Du noch was an der Config verändert ?
Poste diese mal bitte.

Greez BeNe


Code:
#
# AWStats Begin
#

Alias /awstatsicons "/usr/share/awstats/icon/"


NameVirtualHost 127.0.0.1:80

<VirtualHost 127.0.0.1:80>

    <IfModule mod_rewrite.c>
        RewriteEngine on
        RewriteRule ^/stats/(.+)/$ http://localhost/awstats/?config=$1 [P]
        RewriteRule ^/stats/(.+)/awstats.pl(.*)$ http://localhost/awstats/$2 [P]
    </IfModule>

    ScriptAlias /awstats "/usr/lib/cgi-bin/awstats.pl"

    <Directory /usr/lib/cgi-bin>
        AllowOverride none
        Options +ExecCGI
        DirectoryIndex awstats.pl
        Order allow,deny
        Allow from all
    </Directory>

</VirtualHost>

#
# AWStats End
#

danke für die unterstützung Smile
(This post was last modified: 02-07-2008 01:35 AM by BeNe.)
02-07-2008 01:34 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #8
RE: awstats Problem
Sieht OK aus.
AWStats hast Du auch installiert ?
Kommst du auf "deinedomain.tld/awstatsicons" ?

Und diese Datei existiert auch ?
Code:
/usr/lib/cgi-bin/awstats.pl

Hast du einen Cronjob Eintrag für AWStats ?
Code:
# AWStats
15      */6     *       *       *       root /var/www/ispcp/engine/awstats/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats.pl >/dev/null 2>&1
Führe den sonst mal manuell aus.

Greez BeNe
02-07-2008 01:38 AM
Visit this user's website Find all posts by this user Quote this message in a reply
decoderone Offline
Junior Member
*

Posts: 11
Joined: Aug 2007
Reputation: 0
Post: #9
RE: awstats Problem
BeNe Wrote:Kommst du auf "deinedomain.tld/awstatsicons" ?
Ja komme ich
BeNe Wrote:Und diese Datei existiert auch ?
Code:
/usr/lib/cgi-bin/awstats.pl

Hast du einen Cronjob Eintrag für AWStats ?
Code:
# AWStats
15      */6     *       *       *       root /var/www/ispcp/engine/awstats/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats.pl >/dev/null 2>&1
Ist drin und läuft auch laut syslog
server /USR/SBIN/CRON[3148]: (www-data) CMD ([ -x /usr/lib/cgi-bin/awstats.pl -a -f /etc/awstats/awstats.conf -a -r /var/log/apache/access.log ] && /usr/li
b/cgi-bin/awstats.pl -config=awstats -update >/dev/null)
allerdings über die ispcp in cron.d
BeNe Wrote:Führe den sonst mal manuell aus.

Greez BeNe
hab ich getan der befehl wird ohne murren ausgeführt und trotzdem bekomm ich ein forbidden
02-07-2008 01:47 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #10
RE: awstats Problem
Ok, dann passt bis hier her auch schon mal alles.
Code:
[error] [client 127.0.0.1] client denied by server configuration: proxy:http://localhost/awstats/

In der proxy.conf in mods-enabled hast Du auch folgenden inhalt ?
Code:
<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
        </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>
Wichtig ist das "Allow from 127.0.0.1"

Greez BeNe
02-07-2008 01:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)