mod_cband 간단 정리

· 19년 전 · 2745
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,467
19년 전 조회 3,230
19년 전 조회 2,922
19년 전 조회 1,675
19년 전 조회 3,412
19년 전 조회 1,837
19년 전 조회 1,488
19년 전 조회 1,954
19년 전 조회 2,097
19년 전 조회 1,631
19년 전 조회 2,338
19년 전 조회 1,993
19년 전 조회 1,602
19년 전 조회 1,784
19년 전 조회 2,039
19년 전 조회 1,787
19년 전 조회 1,592
19년 전 조회 1,656
19년 전 조회 3,126
19년 전 조회 1,994
19년 전 조회 1,865
19년 전 조회 4,366
19년 전 조회 4,995
19년 전 조회 3,157
19년 전 조회 2,890
19년 전 조회 3,495
19년 전 조회 2,038
19년 전 조회 2,390
19년 전 조회 2,686
19년 전 조회 2,761
19년 전 조회 2,348
19년 전 조회 1,610
19년 전 조회 3,376
19년 전 조회 1,974
19년 전 조회 2,388
19년 전 조회 2,448
19년 전 조회 2,872
19년 전 조회 5,201
19년 전 조회 2,482
19년 전 조회 3,326
19년 전 조회 4,264
19년 전 조회 2,505
19년 전 조회 2,458
19년 전 조회 4,028
19년 전 조회 2,746
19년 전 조회 2,992
19년 전 조회 2,202
19년 전 조회 2,220
19년 전 조회 1,999
19년 전 조회 3,279
19년 전 조회 2,114
19년 전 조회 2,787
19년 전 조회 1,743
19년 전 조회 5,316
19년 전 조회 3,562
19년 전 조회 4,314
19년 전 조회 3,060
19년 전 조회 2,526
19년 전 조회 3,926
19년 전 조회 2,647
19년 전 조회 2,989
19년 전 조회 2,955
19년 전 조회 4,177
19년 전 조회 3,123
19년 전 조회 3,022
19년 전 조회 3,678
19년 전 조회 2,975
19년 전 조회 2,205
19년 전 조회 2,225
19년 전 조회 2,164
19년 전 조회 2,770
19년 전 조회 2,484
19년 전 조회 3,345
19년 전 조회 3,197
19년 전 조회 1,824
19년 전 조회 2,739
19년 전 조회 7,827
19년 전 조회 2,499
19년 전 조회 3,111
19년 전 조회 2,860
19년 전 조회 3,017
19년 전 조회 2,217
19년 전 조회 2,451
19년 전 조회 4,074
19년 전 조회 2,224
19년 전 조회 4,226
19년 전 조회 2,384
19년 전 조회 2,078
19년 전 조회 2,330
19년 전 조회 1,869
19년 전 조회 2,406
19년 전 조회 2,196
19년 전 조회 3,067
19년 전 조회 1,850
19년 전 조회 3,545
🐛 버그신고