awstats munged httpd rights in SElinux, how to fix?
Tim
ignored_mailbox at yahoo.com.au
Thu Jul 31 05:51:22 UTC 2008
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
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.
--
[tim at localhost ~]$ uname -r
2.6.25.11-97.fc9.i686
Don't send private replies to my address, the mailbox is ignored. I
read messages from the public lists.
More information about the fedora-list
mailing list