mod_cband 간단 정리

· 19년 전 · 3093
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,547
19년 전 조회 2,964
19년 전 조회 2,111
19년 전 조회 1,855
19년 전 조회 1,880
19년 전 조회 1,816
19년 전 조회 3,553
19년 전 조회 3,248
19년 전 조회 1,999
19년 전 조회 3,743
19년 전 조회 2,178
19년 전 조회 1,822
19년 전 조회 2,298
19년 전 조회 2,434
19년 전 조회 1,972
19년 전 조회 2,687
19년 전 조회 2,322
19년 전 조회 1,953
19년 전 조회 2,121
19년 전 조회 2,374
19년 전 조회 2,124
19년 전 조회 1,934
19년 전 조회 1,994
19년 전 조회 3,471
19년 전 조회 2,350
19년 전 조회 2,200
19년 전 조회 4,707
19년 전 조회 5,322
19년 전 조회 3,487
19년 전 조회 3,227
19년 전 조회 3,833
19년 전 조회 2,371
19년 전 조회 2,727
19년 전 조회 3,025
19년 전 조회 3,104
19년 전 조회 2,697
19년 전 조회 1,958
19년 전 조회 3,741
19년 전 조회 2,325
19년 전 조회 2,730
19년 전 조회 2,807
19년 전 조회 3,219
19년 전 조회 5,535
19년 전 조회 2,826
19년 전 조회 3,664
19년 전 조회 4,619
19년 전 조회 2,867
19년 전 조회 2,803
19년 전 조회 4,387
19년 전 조회 3,094
19년 전 조회 3,336
19년 전 조회 2,533
19년 전 조회 2,558
19년 전 조회 2,351
19년 전 조회 3,635
19년 전 조회 2,465
19년 전 조회 3,143
19년 전 조회 2,070
19년 전 조회 5,656
19년 전 조회 3,918
19년 전 조회 4,664
19년 전 조회 3,401
19년 전 조회 2,872
19년 전 조회 4,266
19년 전 조회 3,005
19년 전 조회 3,346
19년 전 조회 3,303
19년 전 조회 4,510
19년 전 조회 3,464
19년 전 조회 3,352
19년 전 조회 4,036
19년 전 조회 3,330
19년 전 조회 2,576
19년 전 조회 2,571
19년 전 조회 2,524
19년 전 조회 3,141
19년 전 조회 2,848
19년 전 조회 3,701
19년 전 조회 3,539
19년 전 조회 2,171
19년 전 조회 3,097
19년 전 조회 8,184
19년 전 조회 2,863
19년 전 조회 3,488
19년 전 조회 3,212
19년 전 조회 3,354
19년 전 조회 2,565
19년 전 조회 2,807
19년 전 조회 4,409
19년 전 조회 2,574
19년 전 조회 4,584
19년 전 조회 2,733
19년 전 조회 2,442
19년 전 조회 2,690
19년 전 조회 2,210
19년 전 조회 2,751
19년 전 조회 2,548
19년 전 조회 3,408
19년 전 조회 2,186
19년 전 조회 3,899