Mailinglist Archive: opensuse (1420 mails)

< Previous Next >
Re: [opensuse] FAILED: apache log full of wpad.dat
* Per Jessen <per@xxxxxxxxxxxx> [01-19-14 13:11]:
Patrick Shanahan wrote:
Spoke too soon, excluding "wpad.dat" log entries did/does not work!

but the conf file does not abort apache2.

ps: where are apache log files defined besides:

Put the setenvif statement in a global config, e.g. httpd.conf. Then add
the env=!dontlog to every customlog statement where you don't want

added senenvif statement to new file /etc/apache2/httpd.conf.local and
include statement in etc/sysconfig/apache2 for httpd.conf.local.

put env=!dontlog into /etc/apache2/conf.d/awstats.conf and

/etc/apache2/sysconfig.d/global.conf is generated when apache2 starts or

In the 'setenvif', maybe remove the backslash or add a 2nd one. Without
the backslash, the regex becomes a little 'wider', but that can be
fine-tuned later.
doesn't appear necessary (atm).

this appears to stop wpad.dat entries into access_og which is not what I
have configured. Nowhere do I have access_log configured but it is still
being generated and awstats.log is full of wpad.dat entries :^(

Where would access_log be defined besides /etc/apache2/conf.d/awstats.conf
/and etc/sysconfig/apache2?

(thinking about disabling awstats.log and pointing awstats.conf to

(paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri openSUSE Community Member facebook/ptilopteri Photo Album:
Registered Linux User #207535 @
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups