mod_cband 간단 정리

· 19년 전 · 2733
apache 2.x의 bandwidth + throttle 모듈입니다.
apache 1.x로 생각하면요.

일단 bandwidth부분은 따로 보시고,

저는 그룹별로 묶어서 throttle 기능이 필요해서 그에 맞는
셋팅만 해두었습니다.

mods-enable/ 에

cband.conf 와 cband.load 추가

cband.load 내용
team:/etc/apache2/mods-enabled# cat cband.load
LoadModule cband_module /usr/lib/apache2/modules/mod_cband.so


cband.conf 내용
team:/etc/apache2/mods-enabled# cat cband.conf
<IfModule mod_cband.c>
<Location /cband-status>
SetHandler cband-status
Order Deny,Allow
Deny from All
Allow from cband-status접속을 허용할 IP(관리자모드)
</Location>
<Location /cband-me>
SetHandler cband-status-me
</Location>

</IfModule>
와 같이.



users 정의(vhost.conf 에서 수정) 및 실제 적용

<CBandUser users>
CBandUserLimit 3000Mi
CBandUserPeriod 1D
</CBandUser>


<virturalhost *>
...
...
ServerName blah.blah.com
CBandUser users
</virtualhost>

끝.<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:30:25 Apache에서 이동 됨]</div>
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

프로그램

+
제목 글쓴이 날짜 조회
19년 전 조회 2,199
19년 전 조회 2,618
19년 전 조회 1,777
19년 전 조회 1,515
19년 전 조회 1,526
19년 전 조회 1,453
19년 전 조회 3,218
19년 전 조회 2,909
19년 전 조회 1,663
19년 전 조회 3,401
19년 전 조회 1,828
19년 전 조회 1,477
19년 전 조회 1,942
19년 전 조회 2,084
19년 전 조회 1,620
19년 전 조회 2,326
19년 전 조회 1,980
19년 전 조회 1,591
19년 전 조회 1,773
19년 전 조회 2,027
19년 전 조회 1,777
19년 전 조회 1,582
19년 전 조회 1,645
19년 전 조회 3,112
19년 전 조회 1,983
19년 전 조회 1,853
19년 전 조회 4,355
19년 전 조회 4,982
19년 전 조회 3,145
19년 전 조회 2,876
19년 전 조회 3,480
19년 전 조회 2,026
19년 전 조회 2,377
19년 전 조회 2,675
19년 전 조회 2,749
19년 전 조회 2,339
19년 전 조회 1,601
19년 전 조회 3,369
19년 전 조회 1,963
19년 전 조회 2,372
19년 전 조회 2,438
19년 전 조회 2,863
19년 전 조회 5,194
19년 전 조회 2,475
19년 전 조회 3,316
19년 전 조회 4,256
19년 전 조회 2,491
19년 전 조회 2,450
19년 전 조회 4,015
19년 전 조회 2,734
19년 전 조회 2,980
19년 전 조회 2,190
19년 전 조회 2,208
19년 전 조회 1,988
19년 전 조회 3,269
19년 전 조회 2,103
19년 전 조회 2,778
19년 전 조회 1,733
19년 전 조회 5,303
19년 전 조회 3,551
19년 전 조회 4,301
19년 전 조회 3,048
19년 전 조회 2,515
19년 전 조회 3,915
19년 전 조회 2,637
19년 전 조회 2,976
19년 전 조회 2,944
19년 전 조회 4,164
19년 전 조회 3,112
19년 전 조회 3,010
19년 전 조회 3,666
19년 전 조회 2,966
19년 전 조회 2,192
19년 전 조회 2,215
19년 전 조회 2,154
19년 전 조회 2,760
19년 전 조회 2,470
19년 전 조회 3,334
19년 전 조회 3,186
19년 전 조회 1,815
19년 전 조회 2,727
19년 전 조회 7,817
19년 전 조회 2,489
19년 전 조회 3,097
19년 전 조회 2,846
19년 전 조회 3,002
19년 전 조회 2,209
19년 전 조회 2,440
19년 전 조회 4,061
19년 전 조회 2,218
19년 전 조회 4,215
19년 전 조회 2,373
19년 전 조회 2,069
19년 전 조회 2,317
19년 전 조회 1,859
19년 전 조회 2,396
19년 전 조회 2,186
19년 전 조회 3,056
19년 전 조회 1,840
19년 전 조회 3,533
🐛 버그신고