Apache 2.4 에서 SetEnvIf 를 이용해서 bot 차단하기 > 개발

본문 바로가기
사이트 내 전체검색

개발

Apache 2.4 에서 SetEnvIf 를 이용해서 bot 차단하기

페이지 정보

profile_image
작성자 관리자 (61.♡.222.236)
댓글 0건 조회 2,505회 작성일 19-06-30 18:35

본문

아파치 웹서버에서 검색로봇의 접근을 차단하는 방법이다.


https://httpd.apache.org/docs/2.4/rewrite/access.html  에서  Blocking of Robots  부분


[code]
SetEnvIfNoCase User-Agent "^NameOfBadRobot" goaway
<Location "/secret/files">
    <RequireAll>
        Require all granted
        Require not env goaway
    </RequireAll>
</Location>
[/code]


* 참고
https://httpd.apache.org/docs/2.4/rewrite/access.html
https://findstar.pe.kr/2016/11/08/apache_2_4_custom_error_log_access_constrol/
https://forum.configserver.com/viewtopic.php?t=9186

추천0

댓글목록

등록된 댓글이 없습니다.

Total 392건 11 페이지
  • RSS
개발 목록
번호 제목 조회 추천 날짜
1923502004-18
1913496001-14
1903472006-29
1893471003-06
1883464004-24
1873452007-11
1863437007-11
1853424004-22
1843416004-17
1833390001-06
1823382006-10
1813380006-20
1803375004-29
1793342007-28
1783336004-07
1773312006-08
1763309004-10
1753299012-17
1743298006-10
1733281003-11

검색


사이트 정보

Copyright © Baragi.Net. All rights reserved.