Current time: 04-30-2024, 03:33 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AWStats Error 404 /stats/ File not Found
Author Message
p3g3h Offline
Junior Member
*

Posts: 103
Joined: Feb 2009
Reputation: 1
Post: #1
AWStats Error 404 /stats/ File not Found
Nabend

Habe auf meinem System (Debian Lenny) nun die aktuelle 1.0.2 installiert soweit läuft auch alles. Habe AWStats "dynamic" bei der Installation aktiviert nur irgendwie passiert nix wenn ich diese aufrufe? Erhalte dann einen Error 404 /stats/ File not Found?

Gruß
09-29-2009 05:32 AM
Find all posts by this user Quote this message in a reply
p3g3h Offline
Junior Member
*

Posts: 103
Joined: Feb 2009
Reputation: 1
Post: #2
RE: AWStats Error 404 /stats/ File not Found
Nabend

Will ja nicht stressen aber no idea?

Gruß
09-30-2009 04:42 AM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #3
RE: AWStats Error 404 /stats/ File not Found
/stats ? Und gehts, wenn Du es aus dem Panel aufrufst?
09-30-2009 03:10 PM
Visit this user's website Find all posts by this user Quote this message in a reply
p3g3h Offline
Junior Member
*

Posts: 103
Joined: Feb 2009
Reputation: 1
Post: #4
RE: AWStats Error 404 /stats/ File not Found
Nabend

Nein Login weder so noch so möglich -.-

Also wenn ich den Link aufrufe kommt die .htaccess Abfrage soweit ist ja alles richtig. Nur selbst wenn ich das Passwort für den Benutzer der Gruppe statistics änder oder oder kommt kein Login zustande. Selbstverständlich ist AWStats in der config aktiviert auf "0" = dynamisch. War auch so bei der Installation angegeben. Nun ist die Frage wo liegt das Problem? Evtl. klappt ja "nur" der Login nicht die Stats werden jedoch "generiert"? Kann ich das irgendwo nachprüfen also sehen das wenn sich in dem und dem Verzeichnis Dateien befinden das dann definitiv Stats erstellt wurden oder no way?

Gruß
10-01-2009 04:00 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: #5
RE: AWStats Error 404 /stats/ File not Found
Schau mal ob der Proxy als ApacheModule geladen ist.
Der Zugriff auf /stats/ also AWStats geht bei ispCP über einen internen Proxy aus Sicherheitsgründen.

Greez BeNe
10-02-2009 03:51 AM
Visit this user's website Find all posts by this user Quote this message in a reply
p3g3h Offline
Junior Member
*

Posts: 103
Joined: Feb 2009
Reputation: 1
Post: #6
RE: AWStats Error 404 /stats/ File not Found
Nabend

Ähmm ja wo seh ich das? Big Grin

Gruß
10-02-2009 05:35 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: #7
RE: AWStats Error 404 /stats/ File not Found
Unter "/etc/apache2/mods-enabled" solltes es diese Dateien geben:
Code:
rv01:/etc/apache2/mods-enabled# ls -l proxy*
lrwxrwxrwx 1 root root 28 2009-06-15 09:25 proxy.conf -> ../mods-available/proxy.conf
lrwxrwxrwx 1 root root 33 2009-06-15 09:25 proxy_http.load -> ../mods-available/proxy_http.load
lrwxrwxrwx 1 root root 28 2009-06-15 09:25 proxy.load -> ../mods-available/proxy.load
srv01:/etc/apache2/mods-enabled#
Diese hier ist wichtig:
Code:
srv01:/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
        </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>
Damit wird der Proxy gelanden und an den Localhost gebunden.
Darüber läuft dan AWstats. In der ApacheConfig als in der "/etc/apache2/sites-enabled/ispcp.conf" sollte dann dieser Part drin sein:
Code:
# httpd awstats support BEGIN.

   ProxyRequests Off

   <Proxy *>
      Order deny,allow
      Allow from all
   </Proxy>

   ProxyPass                    /stats  http://localhost/stats/domain.tld
   ProxyPassReverse             /stats  http://localhost/stats/domain.tld

    <Location /stats>
        <IfModule mod_rewrite.c>
            RewriteEngine on
            RewriteRule ^(.+)\?config=([^\?\&]+)(.*) $1\?config=domain.tld&$3 [NC,L]
        </IfModule>
        AuthType Basic
        AuthName "Statistics for domain domain.tld"
        AuthUserFile /var/www/virtual/domain.tld/.htpasswd
        AuthGroupFile /var/www/virtual/domain.tld/.htgroup
        Require group statistics
    </Location>

   # httpd awstats support END.

Greez BeNe
10-02-2009 05:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
p3g3h Offline
Junior Member
*

Posts: 103
Joined: Feb 2009
Reputation: 1
Post: #8
RE: AWStats Error 404 /stats/ File not Found
Nabend

Ja so sieht das auch alles aus ... also alles so wie Du es beschrieben hast!

Gruß
10-02-2009 06: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: #9
RE: AWStats Error 404 /stats/ File not Found
Gut, kannst Du dann mal bitte einen Logauszug posten ?
Schau mal in die default.log unter /var/log/apache2/ und die Log von der Domain selber.

Greez BeNe
10-02-2009 03:55 PM
Visit this user's website Find all posts by this user Quote this message in a reply
p3g3h Offline
Junior Member
*

Posts: 103
Joined: Feb 2009
Reputation: 1
Post: #10
RE: AWStats Error 404 /stats/ File not Found
Nabend

In der default-error.log tauchen immer wieder folgende Einträge auf:

Quote:...
[Fri Oct 02 21:13:23 2009] [error] proxy: ap_get_scoreboard_lb(37) failed in child 31442 for worker proxy:reverse
[Fri Oct 02 21:13:23 2009] [error] proxy: ap_get_scoreboard_lb(36) failed in child 31442 for worker http://localhost/stats/domain.de
...

Gruß
(This post was last modified: 10-03-2009 05:29 AM by p3g3h.)
10-03-2009 05:28 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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