mod_cband 간단 정리

· 19년 전 · 2734
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,620
19년 전 조회 1,779
19년 전 조회 1,517
19년 전 조회 1,528
19년 전 조회 1,454
19년 전 조회 3,219
19년 전 조회 2,910
19년 전 조회 1,664
19년 전 조회 3,403
19년 전 조회 1,828
19년 전 조회 1,479
19년 전 조회 1,944
19년 전 조회 2,086
19년 전 조회 1,621
19년 전 조회 2,328
19년 전 조회 1,982
19년 전 조회 1,592
19년 전 조회 1,775
19년 전 조회 2,029
19년 전 조회 1,779
19년 전 조회 1,583
19년 전 조회 1,646
19년 전 조회 3,114
19년 전 조회 1,984
19년 전 조회 1,854
19년 전 조회 4,357
19년 전 조회 4,983
19년 전 조회 3,146
19년 전 조회 2,878
19년 전 조회 3,482
19년 전 조회 2,028
19년 전 조회 2,378
19년 전 조회 2,675
19년 전 조회 2,750
19년 전 조회 2,340
19년 전 조회 1,604
19년 전 조회 3,372
19년 전 조회 1,965
19년 전 조회 2,374
19년 전 조회 2,441
19년 전 조회 2,865
19년 전 조회 5,196
19년 전 조회 2,477
19년 전 조회 3,318
19년 전 조회 4,258
19년 전 조회 2,493
19년 전 조회 2,452
19년 전 조회 4,018
19년 전 조회 2,735
19년 전 조회 2,983
19년 전 조회 2,191
19년 전 조회 2,210
19년 전 조회 1,990
19년 전 조회 3,272
19년 전 조회 2,105
19년 전 조회 2,780
19년 전 조회 1,736
19년 전 조회 5,304
19년 전 조회 3,553
19년 전 조회 4,302
19년 전 조회 3,050
19년 전 조회 2,517
19년 전 조회 3,916
19년 전 조회 2,639
19년 전 조회 2,977
19년 전 조회 2,946
19년 전 조회 4,167
19년 전 조회 3,114
19년 전 조회 3,013
19년 전 조회 3,668
19년 전 조회 2,967
19년 전 조회 2,194
19년 전 조회 2,217
19년 전 조회 2,156
19년 전 조회 2,762
19년 전 조회 2,472
19년 전 조회 3,336
19년 전 조회 3,187
19년 전 조회 1,817
19년 전 조회 2,729
19년 전 조회 7,819
19년 전 조회 2,490
19년 전 조회 3,099
19년 전 조회 2,847
19년 전 조회 3,005
19년 전 조회 2,212
19년 전 조회 2,441
19년 전 조회 4,064
19년 전 조회 2,219
19년 전 조회 4,216
19년 전 조회 2,376
19년 전 조회 2,071
19년 전 조회 2,319
19년 전 조회 1,861
19년 전 조회 2,399
19년 전 조회 2,189
19년 전 조회 3,058
19년 전 조회 1,842
19년 전 조회 3,536
🐛 버그신고