사이트 내 전체검색
검색목록
[linux] 아파치에서 특정 사이트로 특정 네트웍(또는 IP Address)의 웹접속을 제한
로빈아빠
https://cmd.kr/server/293 URL이 복사되었습니다.

본문

아파치에서 특정 사이트로 특정 네트웍(또는 IP Address)의 웹접속을 제한

이때, 제한된후의 접속을 하게되면 "Forbidden 403"이란 메시지가 나오게 되는데,
이런 접속제한한 작업을 숨기고, 없는 페이지로 보이게하고자 할때에는 다음과 같이 설정한다.

#특정네트웍 접속제한 <Directory "/home/nice/www"> AllowOverride All Options None Order allow,deny Allow from all Deny from 168.126.42 </Directory> # 2) local redirects #특정사이트의 웹접속제한후에 forbidden 403 메시지를 다른메시지로 전환시킴. ErrorDocument 403 http://www.jioworld.com/403forbidden/index.html

댓글목록

등록된 댓글이 없습니다.

47 (1/1P)

Search

Copyright © Cmd 명령어 18.227.102.124