<IfModule mod_setenvif.c>
## ·Îº¿µéÀÇ È¯°æº¯¼ö ÁöÁ¤ ## ´ë¼Ò¹®ÀÚ ±¸ºÐ ¾ÈÇÔ. BrowserMatchNoCase "^ia_archive" NotLog RobotLog GoOut BrowserMatchNoCase "^tv" NotLog RobotLog GoOut BrowserMatchNoCase "diibot" NotLog RobotLog GoOut BrowserMatchNoCase "empas_robot" NotLog RobotLog GoOut BrowserMatchNoCase "fast-webcrawler" NotLog RobotLog GoOut BrowserMatchNoCase "first" NotLog RobotLog GoOut BrowserMatchNoCase "getright" NotLog RobotLog GoOut BrowserMatchNoCase "googlebot" NotLog RobotLog GoOut BrowserMatchNoCase "gulliver" NotLog RobotLog GoOut BrowserMatchNoCase "kit-fireball" NotLog RobotLog GoOut BrowserMatchNoCase "lycos_spider" NotLog RobotLog GoOut BrowserMatchNoCase "mercator" NotLog RobotLog GoOut BrowserMatchNoCase "netzip" NotLog RobotLog GoOut BrowserMatchNoCase "pirst" NotLog RobotLog GoOut BrowserMatchNoCase "ru-robot" NotLog RobotLog GoOut BrowserMatchNoCase "scooter" NotLog RobotLog GoOut BrowserMatchNoCase "slurp/si" NotLog RobotLog GoOut BrowserMatchNoCase "syncit" NotLog RobotLog GoOut BrowserMatchNoCase "teleport" NotLog RobotLog GoOut BrowserMatchNoCase "teoma_agent3" NotLog RobotLog GoOut BrowserMatchNoCase "webcopier" NotLog RobotLog GoOut BrowserMatchNoCase "webzip" NotLog RobotLog GoOut BrowserMatchNoCase "zyborg" NotLog RobotLog GoOut
# image not log SetEnvIfNoCase Request_URI ".(gif|jpg|png|bmp|thumb|swf|ico|css|js)$" NotLog ImageLog # Code-Red perfectly deny SetEnvIf Request_URI ".ida" NotLog SetEnvIf Referer ".ida" NotLog # Nimda Worm deny SetEnvIf Request_URI "cmd.exe" NotLog SetEnvIf Referer "cmd.exe" NotLog SetEnvIf Request_URI "root.exe" NotLog SetEnvIf Referer "root.exe" NotLog SetEnvIf Request_URI "admin.dll" NotLog SetEnvIf Referer "admin.dll" NotLog
</IfModule>
<IfModule log_config_module>
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i" %H %m %T" combined LogFormat "%h %l %u %t "%r" %>s %b "%{User-Agent}i"" robot LogFormat "%h %l %u %t "%r" %>s %b "%{User-Agent}i"" image CustomLog /usr/local/apache/logs/access_log combined env=!NotLog #CustomLog /usr/local/apache/logs/robot_log robot env=RobotLog #CustomLog /usr/local/apache/logs/image_log image env=ImageLog </IfModule> <Directory /> Options FollowSymLinks AllowOverride None #AllowOverride All Order deny,allow #Deny from all Allow from all Deny from env=GoOut </Directory>
<Directory /home> <Limit PUT DELETE CONNECT OPTIONS> Allow from all </Limit> </Directory>
|