mod_cband 간단 정리

· 19년 전 · 2737
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,204
19년 전 조회 2,624
19년 전 조회 1,783
19년 전 조회 1,520
19년 전 조회 1,532
19년 전 조회 1,459
19년 전 조회 3,223
19년 전 조회 2,912
19년 전 조회 1,669
19년 전 조회 3,405
19년 전 조회 1,833
19년 전 조회 1,481
19년 전 조회 1,948
19년 전 조회 2,089
19년 전 조회 1,626
19년 전 조회 2,332
19년 전 조회 1,985
19년 전 조회 1,597
19년 전 조회 1,777
19년 전 조회 2,031
19년 전 조회 1,782
19년 전 조회 1,587
19년 전 조회 1,650
19년 전 조회 3,117
19년 전 조회 1,987
19년 전 조회 1,859
19년 전 조회 4,359
19년 전 조회 4,987
19년 전 조회 3,150
19년 전 조회 2,883
19년 전 조회 3,485
19년 전 조회 2,031
19년 전 조회 2,382
19년 전 조회 2,681
19년 전 조회 2,754
19년 전 조회 2,344
19년 전 조회 1,607
19년 전 조회 3,374
19년 전 조회 1,968
19년 전 조회 2,378
19년 전 조회 2,444
19년 전 조회 2,868
19년 전 조회 5,197
19년 전 조회 2,480
19년 전 조회 3,321
19년 전 조회 4,261
19년 전 조회 2,497
19년 전 조회 2,455
19년 전 조회 4,020
19년 전 조회 2,738
19년 전 조회 2,986
19년 전 조회 2,195
19년 전 조회 2,214
19년 전 조회 1,994
19년 전 조회 3,273
19년 전 조회 2,108
19년 전 조회 2,782
19년 전 조회 1,738
19년 전 조회 5,308
19년 전 조회 3,557
19년 전 조회 4,307
19년 전 조회 3,053
19년 전 조회 2,519
19년 전 조회 3,920
19년 전 조회 2,643
19년 전 조회 2,982
19년 전 조회 2,950
19년 전 조회 4,169
19년 전 조회 3,118
19년 전 조회 3,016
19년 전 조회 3,670
19년 전 조회 2,971
19년 전 조회 2,196
19년 전 조회 2,220
19년 전 조회 2,159
19년 전 조회 2,764
19년 전 조회 2,475
19년 전 조회 3,340
19년 전 조회 3,191
19년 전 조회 1,821
19년 전 조회 2,732
19년 전 조회 7,821
19년 전 조회 2,495
19년 전 조회 3,102
19년 전 조회 2,852
19년 전 조회 3,008
19년 전 조회 2,215
19년 전 조회 2,445
19년 전 조회 4,067
19년 전 조회 2,222
19년 전 조회 4,221
19년 전 조회 2,379
19년 전 조회 2,075
19년 전 조회 2,323
19년 전 조회 1,865
19년 전 조회 2,401
19년 전 조회 2,193
19년 전 조회 3,062
19년 전 조회 1,843
19년 전 조회 3,538
🐛 버그신고