Apache - 私的TIPS
特定のアクセスをログに記述させない
# vi /usr/local/apache/conf/httpd.conf
SetEnvIf Request_URI "default\.ida" SAMPLE
SetEnvIf Request_URI "root\.exe" SAMPLE
SetEnvIf Request_URI "cmd\.exe" SAMPLE
SetEnvIf Remote_Addr "10.\.*\.*\.*" SAMPLE
SetEnvIf Remote_Addr "172\.16\.*\.*" SAMPLE
SetEnvIf Remote_Addr "192\.168\.0\.*" SAMPLE
SetEnvIf Referer "example\.\.com" SAMPLE
SetEnvIf Referer "example\.jp" SAMPLE
CustomLog /usr/local/apache/logs/access_log combined env=!SAMPLE
HTTPステータス
http://www.zdnet.co.jp/help/tips/linux/l0466.html