Jump to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

awstats generiert keine Werte (alles 0)

Featured Replies

hiho,

 

ich habe versucht awstats zum laufen zu bekommen (Debian Lenny, Froxlor 0.9.4) und musste daf?r erstmal folgende ?nderungen durchf?hren, damit ?berhaupt erstmal die html Pages generiert werden:

 

cp /usr/share/doc/awstats/examples/awstats_buildstaticpages.pl /usr/lib/cgi-bin/

Anpassen der awstats_buildstaticpages.pl:
my $Awstats='awstats.pl'; => my $Awstats='/usr/lib/cgi-bin/awstats.pl';

cp /etc/awstats/awstats.conf /etc/awstats/awstats.model.conf  # Da die einzelnen conf diese Datei inkludieren

 

Nun wurden schonmal die .html Dateien erstellt, jedoch mit dem Hinweis, dass bestimmte Variablen nicht gesetzt sind. Daraufhin habe ich die conf einer Domain angepasst:

/etc/awstats# cat awstats.[domain].com.conf 
## GENERATED BY FROXLOR
## Do not remove the line above! This tells Froxlor to update this configuration
## If you wish to manually change this configuration file, remove the first line to make sure Froxlor won't rebuild this file
## Generated for domain relatedworks.com on Friday 16th of April 2010 08:55:01 PM
LogFile="/var/customers/logs/rw-access.log"
LogType=W
LogFormat = 1
LogSeparator=" "
SiteDomain="[domain].com"
HostAliases="www.[domain].com"
DirData="/var/customers/webs/rw/awstats/[domain].com/"
Include "/etc/awstats/awstats.model.conf"

zu:

/etc/awstats# cat awstats.[domain].com.conf 
## GENERATED BY FROXLOR
## Do not remove the line above! This tells Froxlor to update this configuration
## If you wish to manually change this configuration file, remove the first line to make sure Froxlor won't rebuild this file
## Generated for domain relatedworks.com on Friday 16th of April 2010 08:55:01 PM
Include "/etc/awstats/awstats.model.conf"
LogFile="/var/customers/logs/rw-access.log"
LogType=W
LogFormat = 1
LogSeparator=" "
SiteDomain="[domain].com"
HostAliases="www.[domain].com"
DirData="/var/customers/webs/rw/awstats/[domain].com/"

 

Das include muss zuerst stehen, damit die bereits vorhanden Variablen neu gesetzt werden.

Nun konnte ich endlich den folgenden Befehl erfolgreich ausf?hren: /usr/lib/cgi-bin/awstats_buildstaticpages.pl -config=[domain].com -month=04 -year=2010 -dir=/var/customers/webs/rw/awstats/[domain].com/

 

und es wurden erfolgreich 20 html-Seiten mit den ganzen Tabellen generiert. Allerdings ist die Statistik leer, d.h. alle Wert sind 0.

Kann mir jemand sagen, wo der Fehler in der konfiguration liegt?

 

 

Desweiteren w?rde mich mal interessieren, welche Login-Daten f?r die Generierung der htpasswd-Dateien genommen werden. Die Kunden-Logindaten gingen nicht, obwohl der entsprechende user in der entsprechenden htpasswd datei war. Als ich das Passwort manuell f?r den Benutzer mittels htpasswd gesetzt habe (dasselbe wie f?r den Kundenlogin), konnte ich [domain].com/awstats/ endlich aufrufen.

 

 

Danke schonmal

 

escaped

  • Author

also mittlerweile gibt /awasts/ werte aus. Vllt. funktioniert es aus irgend nem Grund nicht, wenn man es manuell erstellt.

Archived

This topic is now archived and is closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.