‘linux’ カテゴリーのアーカイブ

awstats 自らのドメインをログに残さない。

2006 年 7 月 29 日

awstats のログに自分で使うドメインを記録させないようにすろのにawstats.confを編集する。

# Do not include access from clients that match following criteria.
# If your log file contains IP adresses in host field, you must enter here
# matching IP adresses criteria.
# If DNS lookup is already done in your log file, you must enter here hostname
# criteria, else enter ip address criteria.
# The opposite parameter of “SkipHosts” is “OnlyHosts”.
# Note: Use space between each value. This parameter is not case sensitive.
# Note: You can use regular expression values writing value with REGEX[value].
# Change : Effective for new updates only
# Example: “127.0.0.1 REGEX[^192\.168\.] REGEX[^10\.]”
# Example: “localhost REGEX[^.*\.localdomain$]”
# Default: “”
#
SkipHosts=”REGEX[^192\.168\.] REGEX[^.*\.infoweb\.ne\.jp$]

REGEX[^.*\.infoweb\.ne\.jp$]を追加

(続きを読む…)