* Patrick Shanahan
* Per Jessen
[01-18-14 11:27]: Patrick Shanahan wrote:
doesn't allow apache2 to restart, but... as one line: SetEnvIf Request_URI wpad\.dat dontlog=1 CustomLog file format env!=dontlog
appears to be working. Will advise shortly.
You really need two lines:
SetEnvIf Request_URI wpad\.dat dontlog=1 CustomLog file format env=!dontlog ^^^^^^^^^^^
Don't forget to amend 'file' and 'format' according to your needs. Also note the different positioning of the '!'.
Then I need to replace the present line: CustomLog /var/log/apache2/awstats.log combined with: SetEnvIf Request_URI wpad\.dat dontlog=1 CustomLog /var/log/apache2/awstats.log combined env!=dontlog
away atm, will report
apache2 start complaines about format and stops, removing "!" from "env!=dontlog" satisfies the "format" error but doesn't stop the wpad.dat entries :^( 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@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org