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:
/etc/apache2/sysconfig.d/global.conf
/etc/apache2/conf.d/awstats.conf
/etc/sysconfig/apache2
/etc/awstats/awstats.web.conf

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
wpad.dat.

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/awstats/awstats.web.conf

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

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
access_log)

tks,
--
(paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri
http://en.opensuse.org openSUSE Community Member facebook/ptilopteri
http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2
Registered Linux User #207535 @ http://linuxcounter.net
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups