Hallo,
Ich bin auf der Suche nache dem Log, der von dem Apache Server geschrieben wird. Ich meine die Statistik die dann Webalizer oder so auslesen kann.
Ich habe die standard (Windows) WAMP Installation von Contenido verwendet, die einem alles mit "weiter", "weiter", "weiter" installiert.
Im Verzeichnis C:\contenido\apache\ finde ich leider nichts mit log. oder "access_log". Muß ich das eventuell erst installieren?
Für Hilfe wäre ich euch sehr dankbar.
Grüße
MrSharp
Apache weblogs, webalizer
timo hat geschrieben:Schau mal in der httpd.conf vom Apachen, wo das Logfile hingeschrieben wird
In der Datei httpd.conf finde ich bei der Textsuche nur diesen auskommentierten Teil
Code: Alles auswählen
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
Guter Tip
Ich bin es noch mal. Es funktioniert jetzt. Was habe ich gemacht?timo hat geschrieben:Schau mal in der httpd.conf vom Apachen, wo das Logfile hingeschrieben wird
Ich habe im httpd.conf die Stelle
Code: Alles auswählen
#
# If you prefer a single logfile with access, agent, and referer information
# (Combined Logfile Format) you can use the following directive.
#
CustomLog logs/access.log combined
Dann habe ich in dem Ordner apache den Ordner "logs" hinzugefügt und den Apache Server neu gestartet. Die LogDatei wurde dann automatisch geschrieben.
Danke und Grüße