Current time: 09-30-2024, 11:19 PM Hello There, Guest! (LoginRegister)


Post Reply 
Keine Stats mehr ...
Author Message
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #2
RE: Keine Stats mehr ...
(12-04-2008 09:56 PM)fulltilt Wrote:  Hatte vor einiger Zeit meine awStats deaktiviert (static) dabei habe ich auch die Crons entfernt, das war auf einer RC3.
Habe dann ein Update auf ein rc6 (nightly) durchgeführt und danach die >Stats wieder aktiviert und neu gestartet.
Problem:
1 - die static Stats Cronjobs werden nicht neu angelegt
2 - beim Aufruf von meinedomain.tld/stats bekomme ich einen 404 (file not found)

Was muss ich tun um die Crons wiederherzustellen und wieder Zugriff auf die Stats zu bekommen?

Code:
Hier meine confs:
ispcp.conf
AWSTATS_ACTIVE = yes

# could be 'dynamic' = 0 or 'static' = 1
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

AWSTATS_GROUP_AUTH = statistics


apache:
Alias /awstatsicons "{AWSTATS_WEB_DIR}/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/$1 [P]
        RewriteRule ^/stats/(.*)$ http://localhost/stats/$1/ [R]
    </IfModule>

    ScriptAlias /awstats "{AWSTATS_ENGINE_DIR}/awstats.pl"

    <Directory {AWSTATS_ENGINE_DIR}>
        AllowOverride none
        Options +ExecCGI
        DirectoryIndex awstats.pl
        Order allow,deny
        Allow from all
    </Directory>

</VirtualHost>

#
# AWStats End
#
du solltest die platzhalter erstmal durch hardcodet pfads ändern..
und dann nochmal überdenken wie das ganze überhaubt läuft und dir eventuell erstmal selber helfen per google yahoo etc... da lernst du mehr als dir das hier vor kauen zu lassen...

mfg
12-04-2008 10:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Keine Stats mehr ... - fulltilt - 12-04-2008, 09:56 PM
RE: Keine Stats mehr ... - ZooL - 12-04-2008 10:15 PM
RE: Keine Stats mehr ... - fulltilt - 12-04-2008, 10:31 PM
RE: Keine Stats mehr ... - fulltilt - 12-05-2008, 01:05 AM
RE: Keine Stats mehr ... - fulltilt - 12-05-2008, 03:16 AM
RE: Keine Stats mehr ... - ZooL - 12-05-2008, 07:27 AM
RE: Keine Stats mehr ... - fulltilt - 12-05-2008, 06:49 PM
RE: Keine Stats mehr ... - fulltilt - 12-06-2008, 09:20 PM

Forum Jump:


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