답변감사하구요...
http.conf 에 아래와 같이 설정했는데..
접속이 되던데요...
뭐가 문제죠?
아파치 1.3.20 버전입니다..
iptable 이랑 ipchain의 간단한 예시좀 보여주세요
감사합니다
:
: 가장 간단한 방법은 /etc/httpd/conf/httpd.conf 내의 DocumentRoot에다
: 접속을 거부할 IP의 목록을 만드는 것입니다.
:
: # vi /etc/httpd/conf/httpd.conf
:
: ....
:
: <Directory "/home/www/htdocs"> <-- 제 DocumentRoot임돠.
:
: ...
:
: Order deny,allow
: deny from xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy
: allow from all
:
: ...
:
: </Directory>
:
: 하지만 가장 확실한 방법은 iptables 혹은 ipchains를 이용하는 법이죠.
:
: --
: 리눅스는 즐거움이다.