특정 에이전트 접근 거부를 위한 httpd.conf 수정 > Linux

STUDY ROOM

Linux

특정 에이전트 접근 거부를 위한 httpd.conf 수정

페이지 정보

작성자 JMStudy 작성일07-02-22 13:58 조회7,136회 댓글0건

본문

특정 에이전트들을 막으시거나 이미지 파일의 로그는 남기고 싶지 않으실때는
여기 안쪽에 아래와 같이 넣어주시면 됩니다.

=======================================================
# 특정 Agent 접근 거부
BrowserMatch "WebZIP" go_out
BrowserMatch "Teleport" go_out
BrowserMatch "GetRight" go_out
BrowserMatch "FlashGet" go_out
BrowserMatch "JetCar" go_out
BrowserMatch "Go!Zilla" go_out
BrowserMatch "NamoWebEditor" go_out
BrowserMatch "Namo" go_out
BrowserMatch "MSFrontPage" go_out
BrowserMatch "WebTrack-HTTPP" go_out
BrowserMatch "WebSymmetrix" go_out

# 로컬 호스트 접속일때 로그 남기지 않음
SetEnvIf Remote_Addr "^127.0.0.1$" not_log
# 이미지 파일 자바스크립트 파일등.. 남기지 않음.
SetEnvIfNoCase Request_URI "\.(bmp|gif|jpg|jpeg|png|css|js|java)$" not_log

# 엔진 로봇 로그를 남기 않음
BrowserMatchNoCase "ru-robot" not_log a_robot
BrowserMatchNoCase "Slurp/si" not_log a_robot
BrowserMatchNoCase "Mercator" not_log a_robot
BrowserMatchNoCase "Gulliver" not_log a_robot
BrowserMatchNoCase "SyncIT/" not_log a_robot
BrowserMatchNoCase "FAST-WebCrawler" not_log a_robot
BrowserMatchNoCase "Lycos_Spider" not_log a_robot
BrowserMatchNoCase "^ia_archive" not_log a_robot
BrowserMatchNoCase "^tv" not_log a_robot
BrowserMatchNoCase "Scooter" not_log a_robot
BrowserMatchNoCase "ZyBorg/" not_log a_robot
BrowserMatchNoCase "KIT-Fireball" not_log a_robot
BrowserMatchNoCase "Googlebot/" not_log a_robot
BrowserMatchNoCase "DIIbot/" not_log a_robot
BrowserMatchNoCase "teoma_agent3" not_log a_robot
BrowserMatchNoCase "empas_robot" not_log a_robot

=======================================================
댓글목록

등록된 댓글이 없습니다.