Zum Inhalt springen

Frage zu AWSTATS

Erstellt am 25. Oktober 2006 · 1 Antwort · letzte Antwort am 26. Oktober 2006

Tags: Frage

joe23 ·

Hallo zusammen,

ich habe versucht, die Extension AWSTATS zu installieren.
Dabei bin ich nach folgender Anleitung vorgegangen:

Installation
If you didn't used the logfile functionality yet, you have to configure it.
First put in localconf.php or use the Install-Tool:
$TYPO3_CONF_VARS["FE"]["logfile_dir"] = my_logfile_dir/
This is the path where Typo3 should write webserver-style logfiles to.
This path must be write-enabled for the webserver!
Now enable logfile writing in your template with TypoScript:
config.stat = 1
config.stat_apache = 1
config.stat_apache_logfile =mydomain.log
// you can use this if you want database logging also but it's not needed
config.stat_mysql = 1
Important: you have to create the (empty) logfile by your own. Typo3 won't do it.
Remember to make it writable for the webserver.
Have a look if the awstats.pl script is executable (e.g. chmod 0755) for the webserver.
Just call the module from the backend. I hope everything else is self explanatory.

Das AWSTATS Tool lässt sich auch aufrufen, allerdings stehen keinerlei Werte drin (Alles auf 0).
Ein Blick in das dafür angelegte Logfile zeigt, dass offensichtlich keine Logs geschrieben werden.
Ich habe die Verrechtung lt. Anleitung geprüft, daran sollte es nicht liegen.

Schreibt der Webserver nur in bestimmten Zyklen in dieses File, oder sollte ich dort unmittelbar nach Installation / Konfiguration (nach ca 15 Minuten) Werte darin finden?

Oder hat jmd. einen anderen Tip, an was das liegen könnte?

Danke und Grüsse,
Joe

joe23 ·

Hallo Leute,

ich zieh meine Frage zurück!
Problem war ein Fehler in den drei Zeilen Typo Script... :o

Viele Grüsse,
Joe