awstats munged httpd rights in SElinux, how to fix?
Gene Heskett
gene.heskett at verizon.net
Thu Jul 31 21:42:59 UTC 2008
On Thursday 31 July 2008, Tim wrote:
>On Thu, 2008-07-31 at 14:58 +0930, Tim wrote:
>> I've got it running, and with no errors. Though I had to tweak
>> two settings in a /etc/awstats/awstats.localhost.conf configuration
>> file to suit my website (localhost, for this test - setting the
>> sitedomain directive to localhost, and for it to *NOT* skip results
>> from 127.0.0.1, by putting some other bogus IP in the skiphosts
>> directive).
>
>You *might* want to add the following tweak, *if* you don't want viewing
>the stats to be counted as part of the website stats. Find the
>SkipFiles directive (in the site awstats config file), and include the
>following: REGEX[^\/awstats]
>
>Mine looks like the following, since I've not skipped anything else:
>
> SkipFiles="REGEX[^\/awstats]"^M
>
Nice hint, thanks Tim.
>I haven't removed any of the MS-DOS style line endings (the trailing ^M
>characters), as it seems to work fine as it is.
:)
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
An evil mind is a great comfort.
More information about the fedora-list
mailing list