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


Post Reply 
/stats zeigt 404 /awstats nicht gefunden?!
Author Message
Cojones Offline
Junior Member
*

Posts: 25
Joined: Jun 2010
Reputation: 0
Post: #11
RE: /stats zeigt 404 /awstats nicht gefunden?!
Ja, ich weiß, aber weiß nicht wo er das aufrufen will: /etc/apache2/{AWSTATS_ENGINE_DIR}
07-07-2010 06:27 AM
Find all posts by this user Quote this message in a reply
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #12
RE: /stats zeigt 404 /awstats nicht gefunden?!
ispcp.conf im /etc/ispcp ordner ?
oder in den Cronjobs ?
07-07-2010 12:34 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Cojones Offline
Junior Member
*

Posts: 25
Joined: Jun 2010
Reputation: 0
Post: #13
RE: /stats zeigt 404 /awstats nicht gefunden?!
In der ispcp.conf gibt es nur die Zuweisung der Variable:
AWSTATS_ENGINE_DIR = /var/www/ispcp/engine/awstats
aber nicht diesen Pfad, der zu dem Fehler führt:
[error] [client 127.0.0.1] script not found or unable to stat: /etc/apache2/{AWSTATS_ENGINE_DIR}
07-07-2010 05:41 PM
Find all posts by this user Quote this message in a reply
Cojones Offline
Junior Member
*

Posts: 25
Joined: Jun 2010
Reputation: 0
Post: #14
RE: /stats zeigt 404 /awstats nicht gefunden?!
Can someone maybe post his conf files?
I figured out what the problem is but not why.

I changed two lines in /etc/apache2/sites-enabled/01_awstats.conf:
#Alias /awstatsicons "{AWSTATS_WEB_DIR}/icon/"
Alias /awstatsicons "/usr/share/awstats/icon/"

#ScriptAlias /awstats "{AWSTATS_ENGINE_DIR}/awstats.pl"
ScriptAlias /awstats "/usr/lib/cgi-bin/awstats.pl"

Why doesn't Apache know these variables?
(This post was last modified: 07-07-2010 08:02 PM by Cojones.)
07-07-2010 07:46 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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