Mercurial > repos > other > Puppet
view common/logwatch/logfiles_http.conf @ 470:f68d7f7c080b
Avoid new "429 rate limited" in LogWatch
This was meant to discourage spiders by being an error status
instead of a success status, but may not be working
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 12 May 2024 19:50:56 +0100 |
parents | 202aeef575a1 |
children |
line wrap: on
line source
######################################################## # Define log file group for httpd ######################################################## # What actual file? Defaults to LogPath if not absolute path.... LogFile = apache/access_*.log # If the archives are searched, here is one or more line # (optionally containing wildcards) that tell where they are... #If you use a "-" in naming add that as well -mgt Archive = apache/access_*.log.*.gz # Expand the repeats (actually just removes them now) *ExpandRepeats # Keep only the lines in the proper date range... *ApplyhttpDate # Ignore blocked requests *Remove = "\" 429 " # vi: shiftwidth=3 tabstop=3 et