mod_throttle 설치해보신분 있으세요?

mod_throttle 설치후 아래와같이 추가하였는데 아파치를 실행하면
/etc/rc.d/init.d/apache restart: configuration broken, ignoring restart
/etc/rc.d/init.d/apache restart: (run 'apachectl configtest' for details)
에러가 뜹니다.
 ThrottlePolicy Volume 100M 1d  제거하면 에러가 안뜨고 아파치가 리스타트 되구요..


httpd.conf파일 추가내용:

<IfModule mod_throttle.c>
ThrottlePolicy none
    <Location /throttle-status>
        SetHandler throttle-status
        Order deny,allow
        Deny from all
        Allow from all
    </Location>

    <Location /throttle-me>
        SetHandler throttle-me
        Order deny,allow
        Deny from all
        Allow from all
    </Location>

    <Location /~*/throttle-me>
        SetHandler throttle-me
        Order deny,allow
        Deny from all
        Allow from all
    </Location>

</IfModule>


<VirtualHost 61.251.165.116>
ServerAdmin cha5501@hotmail.com
DocumentRoot /home/cha5501/public_html
ServerName vla.co.kr
ThrottlePolicy Volume 100M 1d
</VirtualHost>
|

댓글 10개

모듈이 정상설치가 안된듯 보입니다.
설정화일은 저부분만 보면 문제 없는듯 보이는데
<Location /throttle-status>
SetHandler throttle-status
Order deny,allow
Deny from all
Allow from 접속할IP
</Location>
로 수정하시고 사용하시면 될겁니다.
네, apache-1.3.37 사용중입니다~
위와같이 해주어도 없는페이지라 뜨네요 n.n
http://vla.co.kr/throttle-status
위에러는 모듈이 설치가 안되었거나 로딩이 안되는 문제라 보여집니다만
모듈설치가 정상적이라면 conf에 아래부분이 있는지 확인해보시길 바랍니다.
LoadModule throttle_module libexec/mod_throttle.so
AddModule mod_throttle.c
네 모두 추가되어있어요..
모듈도 올라와있나요? httpd -l 해보시면^^ 확인이 될겁니다.
httpd -l 해보면 커맨드를 찾을수 없다고 뜨네요.. 뜨억..
-bash: httpd: command not found
아파치설치경로/bin/httpd -l 해보시면 나올겁니다.
아래와같이 나오네요~!!

http_core.c
mod_so.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
apache실행오류로그를 봐야 알거 같습니다. 쪽지 드렸어용^^
댓글을 작성하시려면 로그인이 필요합니다. 로그인

자유게시판

+
제목 글쓴이 날짜 조회
15년 전 조회 1,815
15년 전 조회 1,859
15년 전 조회 1,824
15년 전 조회 1,678
15년 전 조회 1,801
15년 전 조회 2,342
15년 전 조회 1,799
15년 전 조회 1,801
15년 전 조회 2,077
15년 전 조회 1,992
15년 전 조회 1,717
15년 전 조회 2,158
15년 전 조회 2,329
15년 전 조회 2,294
15년 전 조회 2,167
15년 전 조회 1,295
15년 전 조회 1,696
15년 전 조회 3,495
15년 전 조회 1,381
15년 전 조회 1,901
15년 전 조회 1,819
15년 전 조회 1,680
15년 전 조회 1,542
15년 전 조회 1,519
15년 전 조회 1,278
15년 전 조회 1,523
15년 전 조회 1,241
15년 전 조회 1,134
15년 전 조회 1,389
15년 전 조회 2,015
🐛 버그신고