﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>IT博客-冰山日记本-文章分类-其他</title><link>http://www.cnitblog.com/hdwong/category/1491.html</link><description /><language>zh-cn</language><lastBuildDate>Tue, 04 Oct 2011 13:11:39 GMT</lastBuildDate><pubDate>Tue, 04 Oct 2011 13:11:39 GMT</pubDate><ttl>60</ttl><item><title>Apache2 - 网站并发数限制模块 (mod_limitipconn)</title><link>http://www.cnitblog.com/hdwong/articles/5683.html</link><dc:creator>冰山一角</dc:creator><author>冰山一角</author><pubDate>Thu, 22 Dec 2005 02:51:00 GMT</pubDate><guid>http://www.cnitblog.com/hdwong/articles/5683.html</guid><wfw:comment>http://www.cnitblog.com/hdwong/comments/5683.html</wfw:comment><comments>http://www.cnitblog.com/hdwong/articles/5683.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/hdwong/comments/commentRss/5683.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/hdwong/services/trackbacks/5683.html</trackback:ping><description><![CDATA[下载 mod_limitipconn &nbsp;<A href="http://dominia.org/djao/limitipconn.html">http://dominia.org/djao/limitipconn.html</A><BR><BR>打开 httpd.conf 此档<BR>先打开 Status 模块：<BR>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">LoadModule&nbsp;status_module&nbsp;modules</SPAN><SPAN style="COLOR: #000000">/</SPAN><SPAN style="COLOR: #000000">mod_status.so<BR><IMG src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align=top>ExtendedStatus&nbsp;On</SPAN></DIV><BR>在任何一处空白列中,加入以下那行：
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000"><FONT style="BACKGROUND-COLOR: #eeeeee">LoadModule limitipconn_module modules/mod_limitipconn.dll</FONT></SPAN></DIV><BR>配置全局限制：<BR><SPAN id=Codehighlighter1_113_288_Open_Text></SPAN>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">IfModule&nbsp;mod_limitipconn.c</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>　</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">Location&nbsp;</SPAN><SPAN style="COLOR: #000000">/&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;所有虚拟主机的</SPAN><SPAN style="COLOR: #000000">/</SPAN><SPAN style="COLOR: #000000">目录&nbsp;<BR>　　MaxConnPerIP&nbsp;</SPAN><SPAN style="COLOR: #000000">3</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;每IP只允许3个并发连接<BR>　　NoIPLimit&nbsp;image</SPAN><SPAN style="COLOR: #008000"><FONT color=#000000>/*</FONT></SPAN><SPAN style="COLOR: #008000"><FONT color=#000000>&nbsp;#&nbsp;对图片不做IP限制<BR>　&lt;/Location&gt;<BR>　&lt;Location&nbsp;/mp3&gt;&nbsp;&nbsp;#&nbsp;所有主机的/mp3目录<BR>　　MaxConnPerIP&nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;每IP只允许一个连接请求&nbsp;&nbsp;&nbsp;&nbsp;<BR>　　OnlyIPLimit&nbsp;audio/mpeg&nbsp;video&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;该限制只对视频和音频格式的文件<BR>　&lt;/Location&gt;<BR>&lt;/IfModule&gt;</FONT></SPAN></DIV><BR>或虚拟主机限制：<BR>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><FONT color=#000000><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">VirtualHost&nbsp;xx.xxx.xx.xx</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN></FONT><FONT color=#000000><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;#ip&nbsp;地址<BR>　ServerAdmin&nbsp;easy@phpv.net<BR>　DocumentRoot&nbsp;</SPAN><SPAN style="COLOR: #000000">/</SPAN><SPAN style="COLOR: #000000">home</SPAN><SPAN style="COLOR: #000000">/</SPAN></FONT><FONT color=#000000><SPAN style="COLOR: #000000">easy<BR>　ServerName&nbsp;www.phpv.net<BR>　</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">IfModule&nbsp;mod_limitipconn.c</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN></FONT><SPAN style="COLOR: #000000"><BR><FONT color=#000000>　　</FONT></SPAN><FONT color=#000000><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">Location&nbsp;</SPAN><SPAN style="COLOR: #000000">/&gt;</SPAN></FONT><FONT color=#000000><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>　　　MaxConnPerIP&nbsp;</SPAN><SPAN style="COLOR: #000000">5</SPAN></FONT><FONT color=#000000><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>　　　NoIPLimit&nbsp;image</SPAN><SPAN style="COLOR: #008000">/*</SPAN></FONT><SPAN style="COLOR: #008000"><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>　　&lt;/Location&gt;<BR>　　&lt;Location&nbsp;/mp3&gt;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;所有主机的/mp3目录<BR>　　　MaxConnPerIP&nbsp;2&nbsp;&nbsp;&nbsp;#&nbsp;每IP只允许一个连接请求&nbsp;&nbsp;&nbsp;&nbsp;<BR>　　　OnlyIPLimit&nbsp;audio/mpeg&nbsp;video&nbsp;#&nbsp;该限制只对视频和音频格式的文件<BR>　　&lt;/Location&gt;<BR>　&lt;/IfModule&gt;<BR>&lt;/VirtualHost&gt;</FONT></SPAN></DIV><img src ="http://www.cnitblog.com/hdwong/aggbug/5683.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/hdwong/" target="_blank">冰山一角</a> 2005-12-22 10:51 <a href="http://www.cnitblog.com/hdwong/articles/5683.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>网页配色方案</title><link>http://www.cnitblog.com/hdwong/articles/5206.html</link><dc:creator>冰山一角</dc:creator><author>冰山一角</author><pubDate>Tue, 06 Dec 2005 11:55:00 GMT</pubDate><guid>http://www.cnitblog.com/hdwong/articles/5206.html</guid><wfw:comment>http://www.cnitblog.com/hdwong/comments/5206.html</wfw:comment><comments>http://www.cnitblog.com/hdwong/articles/5206.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/hdwong/comments/commentRss/5206.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/hdwong/services/trackbacks/5206.html</trackback:ping><description><![CDATA[<P>　　一、红色的色感温暖，性格刚烈而外向，是一种对人刺激性很强的色。红色容易引起人的注意，也容易使人兴奋、激动、紧张、冲动、还是一种容易造成人视觉疲劳的色。 
<P>
<P>　　1. 在红色中加入少量的黄，会使其热力强盛，趋于躁动、不安。 
<P>
<P>　　2. 在红色中加入少量的蓝，会使其热性减弱，趋于文雅、柔和。 
<P>
<P>　　3. 在红色中加入少量的黑，会使其性格变的沉稳，趋于厚重、朴实。 
<P>
<P>　　4. 在红中加入少量的白，会使其性格变的温柔，趋于含蓄、羞涩、娇嫩。 
<P>
<P>　　二、黄色的性格冷漠、高傲、敏感、具有扩张和不安宁的视觉印象。黄色是各种色彩中，最为娇气的一种色。只要在纯黄色中混入少量的其它色，其色相感和色性格均会发生较大程度的变化。 
<P>
<P>　　1. 在黄色中加入少量的蓝，会使其转化为一种鲜嫩的绿色。其高傲的性格也随之消失，趋于一种平和、潮润的感觉。 
<P>
<P>　　2. 在黄色中加入少量的红，则具有明显的橙色感觉，其性格也会从冷漠、高傲转化为一种有分寸感的热情、温暖。 
<P>
<P>　　3. 在黄色中加入少量的黑，其色感和色性变化最大，成为一种具有明显橄榄绿的复色印象。其色性也变的成熟、随和。 
<P>
<P>　　4. 在黄色中加入少量的白，其色感变的柔和，其性格中的冷漠、高傲被淡化，趋于含蓄，易于接近。 
<P>
<P>　　三、蓝色的色感冷嘲热讽，性格朴实而内向，是一种有助于人头脑冷嘲热讽静的色。蓝色的朴实、内向性格，常为那些性格活跃、具有较强扩张力的色彩，提供一个深远、广埔、平静的空间，成为衬托活跃色彩的友善而谦虚的朋友。蓝色还是一种在淡化后仍然似能保持较强个性的色。如果在蓝色中分别加入少量的红、黄、黑、橙、白等色，均不会对蓝色的性格构成较明显的影响力。 
<P>
<P>　　1. 如果在蓝色中黄的成份较多，其性格趋于甜美、亮丽、芳香。 
<P>
<P>　　2. 在蓝色中混入小量的白，可使橙色的知觉趋于焦躁、无力。 
<P>
<P>　　四、绿色是具有黄色和蓝色两种成份的色。在绿色中，将黄色的扩张感和蓝色的收缩感相中和，将黄色的温暖感与蓝色的寒冷感相抵消。这样使得绿色的性格最为平和、安稳。是一种柔顺、恬静、潢足、优美的色。 
<P>
<P>　　1. 在绿色中黄的成份较多时，其性格就趋于活泼、友善，具有幼稚性。 
<P>
<P>　　2. 在绿色中加入少量的黑，其性格就趋于庄重、老练、成熟。 
<P>
<P>　　3. 在绿色中加入少量的白，其性格就趋于洁净、清爽、鲜嫩。 
<P>
<P>　　五、紫色的明度在有彩色的色料中是最低的。紫色的低明度给人一种沉闷、神秘的感觉。 
<P>
<P>　　1. 在紫色中红的成份较多时，其知觉具有压抑感、威胁感。 
<P>
<P>　　2. 在紫色中加入少量的黑，其感觉就趋于沉闷、伤感、恐怖。 
<P>
<P>　　3. 在紫色中加入白，可使紫色沉闷的性格消失，变得优雅、娇气，并充满女性的魅力。 
<P>
<P>　　六、白色的色感光明，性格朴实、纯洁、快乐。白色具有圣洁的不容侵犯性。如果在白色中加入其它任何色，都会影响其纯洁性，使其性格变的含蓄。 
<P>
<P>　　1. 在白色中混入少量的红，就成为淡淡的粉色，鲜嫩而充满诱惑。 
<P>
<P>　　2. 在白色中混入少量的黄，则成为一种乳黄色，给人一种香腻的印象。 
<P>
<P>　　3. 在白色中混入少量的蓝，给人感觉清冷、洁净。 
<P>
<P>　　4. 在白色中混入少量的橙，有一种干燥的气氛。 
<P>
<P>　　5. 在白色中混入少量的绿，给人一种稚嫩、柔和的感觉。 
<P>
<P>　　6. 在白色中混入少量的紫，可诱导人联想到淡淡的芳香。 
<P>
<P>　　明白了配色方案，在具体操作的时候少不了会用到： 
<P>
<P><B>安全色谱</B> 
<P>
<P>
<TABLE cellSpacing=1 cellPadding=3 align=center>
<TBODY>
<TR>
<TD width=191 bgColor=#fffafa>Snow </TD>
<TD width=104 bgColor=#333333><SPAN><FONT color=#cccccc>255 250 250 </FONT></SPAN></TD>
<TD width=95 bgColor=#333333><SPAN><FONT color=#cccccc>#FFFAFA </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#f8f8ff>GhostWhite </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>248 248 255 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#F8F8FF </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#f5f5f5>WhiteSmoke </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>245 245 245 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#F5F5F5 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#dcdcdc>Gainsboro </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>220 220 220 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#DCDCDC </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#fffaf0>FloralWhite </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>255 250 240 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#FFFAF0 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#fdf5e6>OldLace </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>253 245 230 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#FDF5E6 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#faf0e6>Linen </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>250 240 230 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#FAF0E6 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#faebd7>AntiqueWhite </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>250 235 215 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#FAEBD7 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#ffefd5>PapayaWhip </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>255 239 213 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#FFEFD5 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#ffebcd>BlanchedAlmond </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>255 235 205 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#FFEBCD </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#ffe4c4>Bisque </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>255 228 196 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#FFE4C4 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#ffdab9>PeachPuff </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>255 218 185 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#FFDAB9 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#ffdead>NavajoWhite </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>255 222 173 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#FFDEAD </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#ffe4b5>Moccasin </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>255 228 181 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#FFE4B5 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#fff8dc>Cornsilk </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>255 248 220 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#FFF8DC </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#fffff0>Ivory </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>255 255 240 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#FFFFF0 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#fffacd>LemonChiffon </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>255 250 205 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#FFFACD </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#fff5ee>Seashell </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>255 245 238 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#FFF5EE </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#f0fff0>Honeydew </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>240 255 240 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#F0FFF0 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#f5fffa>MintCream </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>245 255 250 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#F5FFFA </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#f0ffff>Azure </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>240 255 255 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#F0FFFF </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#f0f8ff>AliceBlue </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>240 248 255 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#F0F8FF </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#e6e6fa>lavender </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>230 230 250 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#E6E6FA </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#fff0f5>LavenderBlush </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>255 240 245 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#FFF0F5 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#ffe4e1>MistyRose </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>255 228 225 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#FFE4E1 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#ffffff>White </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>255 255 255 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#FFFFFF </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#000000>Black </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>0 0 0 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#000000 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#2f4f4f>DarkSlateGray </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>47 79 79 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#2F4F4F </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#696969>DimGrey </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>105 105 105 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#696969 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#708090>SlateGrey </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>112 128 144 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#708090 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#778899>LightSlateGray </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>119 136 153 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#778899 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#bebebe>Grey </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>190 190 190 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#BEBEBE </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#d3d3d3>LightGray </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>211 211 211 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#D3D3D3 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#191970>MidnightBlue </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>25 25 112 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#191970 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#000080>NavyBlue </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>0 0 128 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#000080 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#6495ed>CornflowerBlue </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>100 149 237 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#6495ED </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#483d8b>DarkSlateBlue </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>72 61 139 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#483D8B </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#6a5acd>SlateBlue </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>106 90 205 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#6A5ACD </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#7b68ee>MediumSlateBlue </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>123 104 238 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#7B68EE </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#8470ff>LightSlateBlue </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>132 112 255 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#8470FF </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#0000cd>MediumBlue </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>0 0 205 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#0000CD </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#4169e1>RoyalBlue </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>65 105 225 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#4169E1 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#0000ff>Blue </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>0 0 255 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#0000FF </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#1e90ff>DodgerBlue </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>30 144 255 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#1E90FF </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#00bfff>DeepSkyBlue </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>0 191 255 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#00BFFF </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#87ceeb>SkyBlue </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>135 206 235 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#87CEEB </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#87cefa>LightSkyBlue </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>135 206 250 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#87CEFA </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#4682b4>SteelBlue </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>70 130 180 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#4682B4 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#b0c4de>LightSteelBlue </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>176 196 222 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#B0C4DE </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#add8e6>LightBlue </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>173 216 230 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#ADD8E6 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#b0e0e6>PowderBlue </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>176 224 230 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#B0E0E6 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#afeeee>PaleTurquoise </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>175 238 238 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#AFEEEE </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#00ced1>DarkTurquoise </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>0 206 209 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#00CED1 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#48d1cc>MediumTurquoise </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>72 209 204 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#48D1CC </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#40e0d0>Turquoise </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>64 224 208 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#40E0D0 </FONT></SPAN></TD></TR>
<TR>
<TD bgColor=#00ffff>Cyan </TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>0 255 255 </FONT></SPAN></TD>
<TD bgColor=#333333><SPAN><FONT color=#cccccc>#00FFFF </FONT></SPAN></TD></TR></TBODY></TABLE>
<P>
<P>希望本文能使各位读者制作的网页更加多姿多彩。</P><img src ="http://www.cnitblog.com/hdwong/aggbug/5206.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/hdwong/" target="_blank">冰山一角</a> 2005-12-06 19:55 <a href="http://www.cnitblog.com/hdwong/articles/5206.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Apache2 - 网站带宽限制模块 (Bw Mod v0.6)</title><link>http://www.cnitblog.com/hdwong/articles/5015.html</link><dc:creator>冰山一角</dc:creator><author>冰山一角</author><pubDate>Wed, 30 Nov 2005 01:42:00 GMT</pubDate><guid>http://www.cnitblog.com/hdwong/articles/5015.html</guid><wfw:comment>http://www.cnitblog.com/hdwong/comments/5015.html</wfw:comment><comments>http://www.cnitblog.com/hdwong/articles/5015.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/hdwong/comments/commentRss/5015.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/hdwong/services/trackbacks/5015.html</trackback:ping><description><![CDATA[<P>先去该网站下载所需的modules档案 (有*nix和Windows版本)<BR>Ivan Barrera A. (Bruce)网站 (<A href="http://www.ivn.cl/apache/#bandwidth">http://www.ivn.cl/apache/#bandwidth</A>)<BR>官方文档 (<A href="http://www.ivn.cl/apache/bw_mod-0.6.txt">http://www.ivn.cl/apache/bw_mod-0.6.txt</A>)<BR>接着打开 httpd.conf 此档<BR>在任何一处空白列中,加入以下那行</P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">LoadModule&nbsp;bw_module&nbsp;modules/bw_mod-</SPAN><SPAN style="COLOR: #000000">2.0.54</SPAN><SPAN style="COLOR: #000000">.dll</SPAN></DIV>
<P>(如果你有改档名,上面的 bw_mod-2.0.54.dll 也须更改成相同档名)<BR>再加入以下这行,启动modules (不加此行,预设值是不启动 disabled)<BR>BandWidthModule On </P>
<P>例一：</P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">BandWidth&nbsp;localhost&nbsp;</SPAN><SPAN style="COLOR: #000000">10240</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align=top>BandWidth 192.168.218.5 0</SPAN></DIV>
<P>第一行是说,限制 localhost 位置,无论下载多少个档案,下载速度总合最高只有10KB<BR>第二行是说, 192.168.1.2 这个IP位址,无论下载多少个档案,下载速度总合最高无限制<BR>(1KB=1024 , 0 即是无限制)</P>
<P>例二：</P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">BandWidth&nbsp;all&nbsp;</SPAN><SPAN style="COLOR: #000000">10240</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align=top>MinBandWidth&nbsp;all&nbsp;</SPAN><SPAN style="COLOR: #000000">5120</SPAN></DIV>
<P>这个例子是说<BR>限制所有IP位置,只有一个下载时,最高只有10KB的速度<BR>如果有多个下载时,最小下载单档的速度是5KB&nbsp;<BR>则：<BR>下载1个档案 速度为10K 总合下载速度为10K<BR>下载5个档案 速度各为5K 总合下载速度为25K</P>
<P>例三：</P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">LargeFileLimit&nbsp;.avi&nbsp;</SPAN><SPAN style="COLOR: #000000">500</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">10240</SPAN></DIV>
<P>副档名为avi的档案 且 档案大小 大於或等於500KB<BR>下载的速度限制最高为10KB<BR>(这里是多人平分那10KB的速度喔! 1人下载有10KB,10人下载只有1KB)</P><img src ="http://www.cnitblog.com/hdwong/aggbug/5015.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/hdwong/" target="_blank">冰山一角</a> 2005-11-30 09:42 <a href="http://www.cnitblog.com/hdwong/articles/5015.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>