25 Feb
2006
25 Feb
'06
19:08
On Saturday 25 February 2006 13:43, Per Jessen wrote:
teck wrote:
This is a quick rework of an apache exmaple:
SetEnvIf Remote_Addr "1.2.3.4" log1 specificip SetEnvIf Remote_Addr "1.2.3.5" log2 specificip
CustomLog logs/logfile1 common env=log1 CustomLog logs/logfile2 common env=log2 CustomLog logs/access_log common env=!specificip
/Per Jessen, Zürich
k thanks... this works but :) it still logs the ip to the access_log as well?
Did you keep your old log definitions perhaps?
yes i did but when i take out the line Include /etc/apache2/mod_log_config.conf my access_log fills with one word per line "combined"