mod_cband 간단 정리

· 19년 전 · 2742
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,208
19년 전 조회 2,630
19년 전 조회 1,789
19년 전 조회 1,526
19년 전 조회 1,535
19년 전 조회 1,462
19년 전 조회 3,227
19년 전 조회 2,916
19년 전 조회 1,672
19년 전 조회 3,409
19년 전 조회 1,835
19년 전 조회 1,485
19년 전 조회 1,951
19년 전 조회 2,094
19년 전 조회 1,629
19년 전 조회 2,336
19년 전 조회 1,991
19년 전 조회 1,600
19년 전 조회 1,782
19년 전 조회 2,035
19년 전 조회 1,785
19년 전 조회 1,589
19년 전 조회 1,655
19년 전 조회 3,122
19년 전 조회 1,992
19년 전 조회 1,862
19년 전 조회 4,364
19년 전 조회 4,994
19년 전 조회 3,153
19년 전 조회 2,887
19년 전 조회 3,490
19년 전 조회 2,036
19년 전 조회 2,387
19년 전 조회 2,685
19년 전 조회 2,759
19년 전 조회 2,346
19년 전 조회 1,607
19년 전 조회 3,375
19년 전 조회 1,972
19년 전 조회 2,384
19년 전 조회 2,447
19년 전 조회 2,871
19년 전 조회 5,201
19년 전 조회 2,481
19년 전 조회 3,324
19년 전 조회 4,264
19년 전 조회 2,501
19년 전 조회 2,456
19년 전 조회 4,025
19년 전 조회 2,743
19년 전 조회 2,989
19년 전 조회 2,198
19년 전 조회 2,217
19년 전 조회 1,998
19년 전 조회 3,277
19년 전 조회 2,112
19년 전 조회 2,785
19년 전 조회 1,743
19년 전 조회 5,312
19년 전 조회 3,560
19년 전 조회 4,311
19년 전 조회 3,058
19년 전 조회 2,521
19년 전 조회 3,923
19년 전 조회 2,647
19년 전 조회 2,987
19년 전 조회 2,950
19년 전 조회 4,173
19년 전 조회 3,119
19년 전 조회 3,020
19년 전 조회 3,676
19년 전 조회 2,974
19년 전 조회 2,202
19년 전 조회 2,223
19년 전 조회 2,163
19년 전 조회 2,769
19년 전 조회 2,481
19년 전 조회 3,344
19년 전 조회 3,195
19년 전 조회 1,824
19년 전 조회 2,738
19년 전 조회 7,824
19년 전 조회 2,498
19년 전 조회 3,108
19년 전 조회 2,856
19년 전 조회 3,011
19년 전 조회 2,217
19년 전 조회 2,448
19년 전 조회 4,072
19년 전 조회 2,223
19년 전 조회 4,224
19년 전 조회 2,383
19년 전 조회 2,076
19년 전 조회 2,328
19년 전 조회 1,867
19년 전 조회 2,405
19년 전 조회 2,195
19년 전 조회 3,065
19년 전 조회 1,847
19년 전 조회 3,544
🐛 버그신고