mod_cband 간단 정리

· 19년 전 · 2741
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,226
19년 전 조회 2,916
19년 전 조회 1,671
19년 전 조회 3,408
19년 전 조회 1,834
19년 전 조회 1,485
19년 전 조회 1,950
19년 전 조회 2,094
19년 전 조회 1,628
19년 전 조회 2,334
19년 전 조회 1,989
19년 전 조회 1,600
19년 전 조회 1,782
19년 전 조회 2,035
19년 전 조회 1,785
19년 전 조회 1,589
19년 전 조회 1,654
19년 전 조회 3,121
19년 전 조회 1,992
19년 전 조회 1,862
19년 전 조회 4,363
19년 전 조회 4,994
19년 전 조회 3,153
19년 전 조회 2,887
19년 전 조회 3,490
19년 전 조회 2,036
19년 전 조회 2,385
19년 전 조회 2,684
19년 전 조회 2,759
19년 전 조회 2,346
19년 전 조회 1,607
19년 전 조회 3,375
19년 전 조회 1,972
19년 전 조회 2,382
19년 전 조회 2,446
19년 전 조회 2,871
19년 전 조회 5,201
19년 전 조회 2,481
19년 전 조회 3,322
19년 전 조회 4,264
19년 전 조회 2,501
19년 전 조회 2,456
19년 전 조회 4,025
19년 전 조회 2,742
19년 전 조회 2,989
19년 전 조회 2,198
19년 전 조회 2,217
19년 전 조회 1,997
19년 전 조회 3,277
19년 전 조회 2,111
19년 전 조회 2,785
19년 전 조회 1,742
19년 전 조회 5,311
19년 전 조회 3,559
19년 전 조회 4,311
19년 전 조회 3,057
19년 전 조회 2,520
19년 전 조회 3,923
19년 전 조회 2,647
19년 전 조회 2,986
19년 전 조회 2,950
19년 전 조회 4,173
19년 전 조회 3,119
19년 전 조회 3,019
19년 전 조회 3,676
19년 전 조회 2,974
19년 전 조회 2,201
19년 전 조회 2,223
19년 전 조회 2,162
19년 전 조회 2,767
19년 전 조회 2,479
19년 전 조회 3,344
19년 전 조회 3,195
19년 전 조회 1,824
19년 전 조회 2,737
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,223
19년 전 조회 2,382
19년 전 조회 2,076
19년 전 조회 2,328
19년 전 조회 1,867
19년 전 조회 2,405
19년 전 조회 2,195
19년 전 조회 3,064
19년 전 조회 1,847
19년 전 조회 3,542
🐛 버그신고