mod_cband 간단 정리

· 19년 전 · 2746
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,210
19년 전 조회 2,632
19년 전 조회 1,790
19년 전 조회 1,530
19년 전 조회 1,536
19년 전 조회 1,468
19년 전 조회 3,230
19년 전 조회 2,922
19년 전 조회 1,675
19년 전 조회 3,412
19년 전 조회 1,839
19년 전 조회 1,488
19년 전 조회 1,954
19년 전 조회 2,097
19년 전 조회 1,634
19년 전 조회 2,338
19년 전 조회 1,994
19년 전 조회 1,602
19년 전 조회 1,784
19년 전 조회 2,039
19년 전 조회 1,788
19년 전 조회 1,592
19년 전 조회 1,657
19년 전 조회 3,126
19년 전 조회 1,994
19년 전 조회 1,867
19년 전 조회 4,367
19년 전 조회 4,995
19년 전 조회 3,157
19년 전 조회 2,890
19년 전 조회 3,495
19년 전 조회 2,038
19년 전 조회 2,391
19년 전 조회 2,686
19년 전 조회 2,761
19년 전 조회 2,348
19년 전 조회 1,610
19년 전 조회 3,376
19년 전 조회 1,975
19년 전 조회 2,388
19년 전 조회 2,449
19년 전 조회 2,873
19년 전 조회 5,201
19년 전 조회 2,482
19년 전 조회 3,326
19년 전 조회 4,264
19년 전 조회 2,506
19년 전 조회 2,458
19년 전 조회 4,029
19년 전 조회 2,747
19년 전 조회 2,992
19년 전 조회 2,205
19년 전 조회 2,221
19년 전 조회 1,999
19년 전 조회 3,281
19년 전 조회 2,114
19년 전 조회 2,788
19년 전 조회 1,744
19년 전 조회 5,316
19년 전 조회 3,562
19년 전 조회 4,315
19년 전 조회 3,060
19년 전 조회 2,527
19년 전 조회 3,926
19년 전 조회 2,648
19년 전 조회 2,989
19년 전 조회 2,955
19년 전 조회 4,177
19년 전 조회 3,123
19년 전 조회 3,024
19년 전 조회 3,678
19년 전 조회 2,976
19년 전 조회 2,206
19년 전 조회 2,225
19년 전 조회 2,165
19년 전 조회 2,770
19년 전 조회 2,484
19년 전 조회 3,346
19년 전 조회 3,198
19년 전 조회 1,825
19년 전 조회 2,739
19년 전 조회 7,827
19년 전 조회 2,499
19년 전 조회 3,112
19년 전 조회 2,860
19년 전 조회 3,018
19년 전 조회 2,219
19년 전 조회 2,452
19년 전 조회 4,074
19년 전 조회 2,225
19년 전 조회 4,228
19년 전 조회 2,385
19년 전 조회 2,078
19년 전 조회 2,330
19년 전 조회 1,871
19년 전 조회 2,406
19년 전 조회 2,197
19년 전 조회 3,067
19년 전 조회 1,850
19년 전 조회 3,545
🐛 버그신고