From 8e39b999209ee7f355fabd3588f10adf6cae57e4 Mon Sep 17 00:00:00 2001 From: Sven Velt Date: Tue, 15 Oct 2024 14:38:57 +0200 Subject: [PATCH] Kapitel 06: Log Files, mit Manual --- conf/kapitel/kapitel_06.conf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 conf/kapitel/kapitel_06.conf diff --git a/conf/kapitel/kapitel_06.conf b/conf/kapitel/kapitel_06.conf new file mode 100644 index 0000000..593f31a --- /dev/null +++ b/conf/kapitel/kapitel_06.conf @@ -0,0 +1,20 @@ +##### Kapitel 6 - Log-Files + +#LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined +CustomLog "logs/combined.log" combined + +LoadModule logio_module modules/mod_logio.so +LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio +CustomLog "logs/combinedio.log" combinedio + +LogFormat "%{Referer}i -> %U" referer +CustomLog logs/referer.log referer + +LogFormat "%{User-agent}i" agent +CustomLog logs/agent.log agent + +### Manual aktivieren + +LoadModule negotiation_module modules/mod_negotiation.so +Include conf/extra/httpd-manual.conf +