¾Ñ... ¿ÀŸ³×¿ä..
FileMatch °¡ ¾Æ´Ï°í FilesMatch À̳׿ä.
<FilesMatch "\.(zip|mp3)$">
CBandRemoteSpeed 512kb/s 1 1
</FilesMatch>
Âü°í: http://httpd.apache.org/docs/2.2/mod/core.html#filesmatch
[Ãʺ¸¼]´ÔÀÌ ³²±â½Å ±Û:
>httpd ¸¦ Á¤Áö Áß: [ OK ]
>httpd (À»)¸¦ ½ÃÀÛ Áß: Syntax error on line 1047 of
/etc/httpd/conf/httpd.conf:
>Invalid command '<FileMatch', perhaps misspelled or defined by a module not
included in the server configuration
>
>
>À§¿Í °°Àº ¹®Á¦°¡ »ý±é´Ï´Ù ¤Ð_¤Ð)
>
><VirtualHost *:80>
> ServerAdmin admin23423@naver.com
> DocumentRoot /home/user/html
> ServerName domain.co.kr
> ServerAlias www.domain.co.kr
> CbandPeriod 9D
> CbandLimit 150G
> CbandSpeed 23000 20 512
>
> <FileMatch "\.(zip|mp3)$">
> CBandRemoteSpeed 512kb/s 1 1
> </FileMatch>
>
> #CBandRemoteSpeed
> #CBandExceededURL "http://traffic.ncm.wo.tc"
></VirtualHost>
>
>
>
>
>
>
>[»êÀÌ]´ÔÀÌ ³²±â½Å ±Û:
>
>>[Ãʺ¸¼]´ÔÀÌ ³²±â½Å ±Û:
>>
>>>-----------------------------------------
>>>´äº¯ÀÚ°¡ ±âº»ÀûÀ¸·Î Âü°íÇÒ ³»¿ëÀÔ´Ï´Ù.
>>>- ¹èÆ÷ÆÇ(¿É¼Ç) : cent os 5.5
>>>- Ä¿³Î¹öÀü(¿É¼Ç) :
>>>- µ¥¸ó¹öÀü(¿¹:apache 1.3.27) : apache
>>>- µ¥¸ó¼³Ä¡À¯Çü(RPM/ÄÄÆÄÀÏ/±âŸ)
:
>>>-----------------------------------------
>>>
>>>
>>>¿ì¼± Ç×»ó ÁÁÀº ´äº¯À» ÇØÁֽô »êÀÌ´Ô²² °¨»çÇÕ´Ï´Ù.
>>>ÀÌ·¸°Ô Ä£ÀýÇÏ°í, ¶Ç ½Ç·ÂÀÖ´Â ºÐ²²¼ ´äº¯ÇØÁֽôÏ
>>>¹®Á¦°¡ »ý±æ ¶§¸¶´Ù ¸®´ª½º ä³Î³Ý ȨÆäÀÌÁö¿¡ ÀÇÁ¸ÇÏ°í ÀÖ½À´Ï´Ù.
>>>
>>>´Ù¸§À̾ƴϿÀ¶ó, ÃÖ±Ù Áú¹®¿¡ ´äº¯ÇØÁֽŠcband ¼³Á¤¹®ÀÇ·Î ¹®Àǵ帰
>>>http://linuxchannel.net/board/read.php?table=qna&no=8618&page=1
>>>
>>>ÀÌ °Ô½Ã¹°¿¡ ´äº¯´ë·Î ¼³Á¤ÇÑ ÈÄ »ç¿ëÁßÀε¥
>>>
>>>¸î°¡Áö ¹®Á¦°¡ ÀÖ¾î ¹®Àǵ帳´Ï´Ù.
>>>
>>>1) Æ®·¡ÇÈ ¼ÓµµÁ¦ÇÑÀ» ÇÏ°Ô µÇ¸é, ¾÷·Îµåµµ ¶È°°ÀÌ ¼Óµµ Á¦ÇÑÀÌ °É·Á
>>>¾÷·Îµå ¼Óµµ ½Ã°£ÀÌ ¿À·¡ °É¸®´Â ¹®Á¦Á¡ÀÌ ÀÖ½À´Ï´Ù.
>>>ÇöÀç ¼¹öÀÇ Æ®·¡ÇÈÀÌ ´Ù¿î·Îµå´Â ºÎÇÏ»óÅÂÁö¸¸ ¾÷·Îµå Æ®·¡ÇÈÀº ¸¹ÀÌ ³²´Â
»óÅÂÀÔ´Ï´Ù.
>>>
>>>2)
>>>¾Ë·ÁÁÖ½Å
>>><FileMatch ....>
>>> CBandRemoteSpeed 512kb/s 1 1
>>></FileMatch>
>>>
>>>filematch°¡ Àû¿ëµÇÁö ¾Ê¾Æ ( ¾Ë·ÁÁֽŠ´ë·Î ³ÖÀ¸¸é ¾ÆÆÄÄ¡°¡ Àç½ÇÇàÀÌ ¾ÈµË´Ï´Ù.
)
>>>
>>> CBandRemoteSpeed 512kb/s 0 10
>>>ÀÌ·±½ÄÀ¸·Î »ç¿ëÇÏ°í ÀÖ¾ú´Âµ¥¿ä..
>>>
>>>µ¿½Ã 10ȸ ÀÌ»ó Á¢¼ÓÁ¦ÇÑÀ» °É¾î ³õÀ¸´Ï »çÀÌÆ®Á¢¼Ó½Ã
>>>À̹ÌÁö°¡ 10°³ÀÌ»ó ÀÏ°æ¿ì, XÇ¥½Ã·Î À̹ÌÁö°¡ Á¤»óÀûÀ¸·Î ¶ßÁö ¾Ê´Â ¹®Á¦°¡
¹ß»ýÇØ
>>>¹ö¸³´Ï´Ù.
>>>
>>>
>>>cband¸ðµâÀÌ ¾Æ´Ñ ´Ù¸¥ ¸ðµâÀ̳ª ÇÁ·Î±×·¥ÀÌ ¾øÀ»±î¿ä..?
>>>
>>>ÇöÀç 1¸íÀÇ À¯Àú°¡ 10MBÁ¤µµÀÇ µÇ´Â ÆÄÀϵéÀ»
>>>10°³ÀÌ»ó ´Ù¿î·Îµå ¹Þ´Â À¯Àúµé ¶§¹®¿¡
>>>Àüü À¯ÀúÀÇ ´Ù¿î·Îµå ¼Óµµ°¡ °¨¼ÒµÇ´Â ¹®Á¦Á¡ÀÌ ÀÖ½À´Ï´Ù.
>>>
>>>ÀÌ ºÎºÐ¸¸ Á¦ÇÑÇÑ´ÙÇصµ ÀüüÀûÀ¸·Î ÃÖÀú ¼Óµµ¸¦ º¸ÀåÇÒ ¼ö ÀÖÀ»
°Í°°½À´Ï´Ù.
>>>ÀÇ°ßÁ» ºÎŹµå¸³´Ï´Ù.
>>
>>========================================
>>
>><FileMatch ....> ºÎºÐÀ» ¿¹¸¦µé¾î,
>>
>>´Ù¿î·Îµå ¹Þ¾Æ°¡´Â ÆÄÀÏ È®ÀåÀÚ°¡ .zip ¶Ç´Â mp3 ¶ó°í ÇÑ´Ù¸é
>>
>><FileMatch "\.(zip|mp3)$">
>> CBandRemoteSpeed 512kb/s 1 1
>></FileMatch>
>>
>>ÀÌ·¸°Ô ¼³Á¤ÇØ¾ß ÇÕ´Ï´Ù.
>>
>>
>>±×¸®°í ¾ÆÆÄÄ¡¿Ü¿¡ lighttpd ¶ó´Â À¥¼¹ö´Â ÀÚüÀûÀ¸·Î Æ®·¡ÇÈÀ» Á¦ÇÑÇÏ´Â ±â´ÉÀÌ
ÀÖ½À´Ï´Ù.
>>Çѹø Âü°íÇØ º¸¼¼¿ä.
>>
>>http://www.lighttpd.net/
>>
>>
>>http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:TrafficShapi
ng
>>server.kbytes-per-second // Àüü Æ®·¡ÇÈ Á¦ÇÑ
>>connection.kbytes-per-second // Ä¿³Ø¼Ç´ç Æ®·¡ÇÈ Á¦ÇÑ
>
>========================================
========================================
|