<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>子网'Blog - Web Server</title><link>http://blog.csdn.net/subnet/category/239808.aspx</link><description>lighttp apache squid nginx...</description><dc:language>zh-CN</dc:language><lastUpdateTime>Sun, 30 Mar 2008 21:46:51 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>subnet</dc:creator><title>Lighttpd+Squid+Apache搭建高效率Web服务器</title><link>http://blog.csdn.net/subnet/archive/2008/03/30/2230666.aspx</link><pubDate>Sun, 30 Mar 2008 15:11:00 GMT</pubDate><guid>http://blog.csdn.net/subnet/archive/2008/03/30/2230666.aspx</guid><wfw:comment>http://blog.csdn.net/subnet/comments/2230666.aspx</wfw:comment><comments>http://blog.csdn.net/subnet/archive/2008/03/30/2230666.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/subnet/comments/commentRss/2230666.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2230666</trackback:ping><description>Apache通常是开源界的首选Web服务器，因为它的强大和可靠，已经具有了品牌效应，可以适用于绝大部分的应用场合。但是它的强大有时候却显得笨重，配置文件得让人望而生畏，高并发情况下效率不太高。而轻量级的Web服务器Lighttpd却是后起之秀，其静态文件的响应能力远高于Apache，据说是Apache的2-3倍。Lighttpd的高性能和易用性，足以打动我们，在它能够胜任的领域，尽量用它。Lighttpd对PHP的支持也很好，还可以通过Fastcgi方式支持其他的语言，比如Python。

毕竟Lighttpd是轻量级的服务器，功能上不能跟Apache比，某些应用无法胜任。比如Lighttpd还不支持缓存，而现在的绝大部分站点都是用程序生成动态内容，没有缓存的话即使程序的效率再高也很难满足大访问量的需求，而且让程序不停的去做同一件事情也实在没有意义。首先，Web程序是需要做缓存处理的，即把反复使用的数据做缓存。即使这样也还不够，单单是启动Web处理程序的代价就不少，缓存最后生成的静态页面是必不可少的。而做这个是 Squid的强项，它本是做代理的，支持高效的缓存，可以用来给站点做反向&lt;img src ="http://blog.csdn.net/subnet/aggbug/2230666.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>subnet</dc:creator><title>找到一款不错的网站压力测试工具webbench</title><link>http://blog.csdn.net/subnet/archive/2008/03/29/2229515.aspx</link><pubDate>Sat, 29 Mar 2008 23:39:00 GMT</pubDate><guid>http://blog.csdn.net/subnet/archive/2008/03/29/2229515.aspx</guid><wfw:comment>http://blog.csdn.net/subnet/comments/2229515.aspx</wfw:comment><comments>http://blog.csdn.net/subnet/archive/2008/03/29/2229515.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/subnet/comments/commentRss/2229515.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2229515</trackback:ping><description>webbench&lt;img src ="http://blog.csdn.net/subnet/aggbug/2229515.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>subnet</dc:creator><title>在FreeBSD上使用mod_dosevasive对抗DDos攻击</title><link>http://blog.csdn.net/subnet/archive/2008/03/05/2152134.aspx</link><pubDate>Wed, 05 Mar 2008 22:50:00 GMT</pubDate><guid>http://blog.csdn.net/subnet/archive/2008/03/05/2152134.aspx</guid><wfw:comment>http://blog.csdn.net/subnet/comments/2152134.aspx</wfw:comment><comments>http://blog.csdn.net/subnet/archive/2008/03/05/2152134.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/subnet/comments/commentRss/2152134.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2152134</trackback:ping><description>mod_dosevasive是一个Apache上的可选模块，它能应对一些基于HTTP的拒绝服务攻击，就是常说的Dos或者DDos攻击，这种攻击是让很多大小网站都头疼的攻击方式，mod_dosevasive从Apache1.3开始出现，虽然不能完全彻底的防止大规模的DDos攻击，但是对于普通的攻击来说，还是非常不错的选择。
&lt;img src ="http://blog.csdn.net/subnet/aggbug/2152134.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>subnet</dc:creator><title>Apache2 worker MPM </title><link>http://blog.csdn.net/subnet/archive/2008/03/04/2147772.aspx</link><pubDate>Tue, 04 Mar 2008 23:59:00 GMT</pubDate><guid>http://blog.csdn.net/subnet/archive/2008/03/04/2147772.aspx</guid><wfw:comment>http://blog.csdn.net/subnet/comments/2147772.aspx</wfw:comment><comments>http://blog.csdn.net/subnet/archive/2008/03/04/2147772.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/subnet/comments/commentRss/2147772.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2147772</trackback:ping><description>worker MPM涉及到的参数主要有：StartServers，MinSpareThreads，MaxSpareThreads，ThreadsPerChild，ServerLimit，MaxClients，MaxRequestsPerChild等，我们一个一个分析。&lt;img src ="http://blog.csdn.net/subnet/aggbug/2147772.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>subnet</dc:creator><title>FreeBSD下Apache MPM改用Prefork</title><link>http://blog.csdn.net/subnet/archive/2008/03/01/2136181.aspx</link><pubDate>Sat, 01 Mar 2008 00:10:00 GMT</pubDate><guid>http://blog.csdn.net/subnet/archive/2008/03/01/2136181.aspx</guid><wfw:comment>http://blog.csdn.net/subnet/comments/2136181.aspx</wfw:comment><comments>http://blog.csdn.net/subnet/archive/2008/03/01/2136181.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/subnet/comments/commentRss/2136181.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2136181</trackback:ping><description>FreeBSD下Apache MPM改用Prefork&lt;img src ="http://blog.csdn.net/subnet/aggbug/2136181.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>subnet</dc:creator><title>如何修改Apache返回的头部信息</title><link>http://blog.csdn.net/subnet/archive/2008/02/27/2124340.aspx</link><pubDate>Wed, 27 Feb 2008 13:14:00 GMT</pubDate><guid>http://blog.csdn.net/subnet/archive/2008/02/27/2124340.aspx</guid><wfw:comment>http://blog.csdn.net/subnet/comments/2124340.aspx</wfw:comment><comments>http://blog.csdn.net/subnet/archive/2008/02/27/2124340.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/subnet/comments/commentRss/2124340.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2124340</trackback:ping><description>问题分析：当客户端连接到Apache服务器的时候，Apache一般会返回服务器版本、非缺省模块等信息，例如：
Server: Apache/1.3.26 (Unix) mod_perl/1.26
解决：
你可以在Apache的配置文件里面作如下设置让它返回的关于服务器的信息减少到最少：
ServerTokens Prod
注意：
这样设置以后Apache还会返回一定的服务器信息，比如：
Server: Apache
但是这个不会对服务器安全产生太多的影响，因为很多扫描软件是扫描的时候是不顾你服务器返回的头部信息的。你如果想把服务器返回的相关信息变成：
Server: It iS a nOnE-aPaCHe Server
那么你就要去修改源码了。&lt;img src ="http://blog.csdn.net/subnet/aggbug/2124340.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>subnet</dc:creator><title>.htaccess教程</title><link>http://blog.csdn.net/subnet/archive/2008/01/02/2011151.aspx</link><pubDate>Wed, 02 Jan 2008 22:13:00 GMT</pubDate><guid>http://blog.csdn.net/subnet/archive/2008/01/02/2011151.aspx</guid><wfw:comment>http://blog.csdn.net/subnet/comments/2011151.aspx</wfw:comment><comments>http://blog.csdn.net/subnet/archive/2008/01/02/2011151.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/subnet/comments/commentRss/2011151.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2011151</trackback:ping><description>从本指南中，你将可以学习到有关.htaccess文件及其功能的知识，并用以优化你的网站。尽管.htaccess只是一个文件，但它可以更改服务器的设置，允许你做许多不同的事情，最流行的功能是您可以创建自定义的“404 error”页面。.htaccess 并不难于使用，归根结底，它只是在一个text文档中添加几条简单的指令而已。&lt;img src ="http://blog.csdn.net/subnet/aggbug/2011151.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>subnet</dc:creator><title>让Apahe支持SSI(shtml)</title><link>http://blog.csdn.net/subnet/archive/2007/08/02/1722067.aspx</link><pubDate>Thu, 02 Aug 2007 09:52:00 GMT</pubDate><guid>http://blog.csdn.net/subnet/archive/2007/08/02/1722067.aspx</guid><wfw:comment>http://blog.csdn.net/subnet/comments/1722067.aspx</wfw:comment><comments>http://blog.csdn.net/subnet/archive/2007/08/02/1722067.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/subnet/comments/commentRss/1722067.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1722067</trackback:ping><description>什么是SSI？
SSI是英文Server Side Includes的缩写，翻译成中文就是服务器端包含的意思。从技术角度上说，SSI就是在HTML文件中，可以通过注释行调用的命令或指针。SSI具有强大的功能，只要使用一条简单的SSI命令就可以实现整个网站的内容更新，时间和日期的动态显示，以及执行shell和CGI脚本程序等复杂的功能。&lt;img src ="http://blog.csdn.net/subnet/aggbug/1722067.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>subnet</dc:creator><title>在Apache上隐蔽php扩展名</title><link>http://blog.csdn.net/subnet/archive/2007/06/25/1666227.aspx</link><pubDate>Mon, 25 Jun 2007 22:17:00 GMT</pubDate><guid>http://blog.csdn.net/subnet/archive/2007/06/25/1666227.aspx</guid><wfw:comment>http://blog.csdn.net/subnet/comments/1666227.aspx</wfw:comment><comments>http://blog.csdn.net/subnet/archive/2007/06/25/1666227.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/subnet/comments/commentRss/1666227.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1666227</trackback:ping><description>DefaultType application/x-httpd-phpDefaultType application/x-httpd-php可实现如:http://www.xxx.com/xxx.php?id=1 =&amp;gt; http://www.xxx.com/xxx?id=1Apache配置for php&lt;img src ="http://blog.csdn.net/subnet/aggbug/1666227.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>subnet</dc:creator><title>使用ApacheBench进行服务器负载测试</title><link>http://blog.csdn.net/subnet/archive/2006/09/18/1236415.aspx</link><pubDate>Mon, 18 Sep 2006 10:36:00 GMT</pubDate><guid>http://blog.csdn.net/subnet/archive/2006/09/18/1236415.aspx</guid><wfw:comment>http://blog.csdn.net/subnet/comments/1236415.aspx</wfw:comment><comments>http://blog.csdn.net/subnet/archive/2006/09/18/1236415.aspx#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://blog.csdn.net/subnet/comments/commentRss/1236415.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1236415</trackback:ping><description>Apache服务器自带有一个叫AB(ApacheBench)的工具，在bin目录下。使用这个轻巧的工具我们可以对服务器进行负载测试，看看在重负荷之下服务器的表现如何。ApacheBench 可以针对某个特定的 URL 仿真出连续的联机请求，同时还可以仿真出同时间点数个相同的联机请求，因此利用 ApacheBench 可帮助我们在网站开发期间仿真实际上线可能的情况，利用仿真出来的数据作为调整服务器设定或程序的依据。&lt;img src ="http://blog.csdn.net/subnet/aggbug/1236415.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>