mod_cband 간단 정리

· 19년 전 · 2735
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,201
19년 전 조회 2,621
19년 전 조회 1,781
19년 전 조회 1,517
19년 전 조회 1,531
19년 전 조회 1,454
19년 전 조회 3,222
19년 전 조회 2,912
19년 전 조회 1,665
19년 전 조회 3,404
19년 전 조회 1,832
19년 전 조회 1,481
19년 전 조회 1,946
19년 전 조회 2,086
19년 전 조회 1,622
19년 전 조회 2,330
19년 전 조회 1,983
19년 전 조회 1,595
19년 전 조회 1,776
19년 전 조회 2,030
19년 전 조회 1,780
19년 전 조회 1,585
19년 전 조회 1,646
19년 전 조회 3,115
19년 전 조회 1,987
19년 전 조회 1,856
19년 전 조회 4,358
19년 전 조회 4,985
19년 전 조회 3,148
19년 전 조회 2,881
19년 전 조회 3,482
19년 전 조회 2,029
19년 전 조회 2,381
19년 전 조회 2,679
19년 전 조회 2,752
19년 전 조회 2,341
19년 전 조회 1,604
19년 전 조회 3,372
19년 전 조회 1,967
19년 전 조회 2,375
19년 전 조회 2,442
19년 전 조회 2,867
19년 전 조회 5,196
19년 전 조회 2,479
19년 전 조회 3,319
19년 전 조회 4,260
19년 전 조회 2,495
19년 전 조회 2,454
19년 전 조회 4,019
19년 전 조회 2,736
19년 전 조회 2,983
19년 전 조회 2,193
19년 전 조회 2,212
19년 전 조회 1,992
19년 전 조회 3,273
19년 전 조회 2,106
19년 전 조회 2,782
19년 전 조회 1,737
19년 전 조회 5,306
19년 전 조회 3,555
19년 전 조회 4,303
19년 전 조회 3,051
19년 전 조회 2,518
19년 전 조회 3,919
19년 전 조회 2,641
19년 전 조회 2,980
19년 전 조회 2,948
19년 전 조회 4,167
19년 전 조회 3,116
19년 전 조회 3,014
19년 전 조회 3,668
19년 전 조회 2,969
19년 전 조회 2,194
19년 전 조회 2,217
19년 전 조회 2,158
19년 전 조회 2,764
19년 전 조회 2,474
19년 전 조회 3,338
19년 전 조회 3,189
19년 전 조회 1,820
19년 전 조회 2,730
19년 전 조회 7,820
19년 전 조회 2,493
19년 전 조회 3,101
19년 전 조회 2,851
19년 전 조회 3,005
19년 전 조회 2,212
19년 전 조회 2,444
19년 전 조회 4,064
19년 전 조회 2,220
19년 전 조회 4,219
19년 전 조회 2,377
19년 전 조회 2,074
19년 전 조회 2,320
19년 전 조회 1,863
19년 전 조회 2,400
19년 전 조회 2,191
19년 전 조회 3,058
19년 전 조회 1,842
19년 전 조회 3,537
🐛 버그신고