<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>phphot - @APACHE/IIS</title><link>http://blog.csdn.net/phphot/category/319673.aspx</link><description /><dc:language>zh-CN</dc:language><lastUpdateTime>Wed, 23 Jul 2008 23:29:00 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>phphot</dc:creator><title>RewriteRule重写规则的语法：Apache的Mod_rewrite</title><link>http://blog.csdn.net/phphot/archive/2008/07/23/2700524.aspx</link><pubDate>Wed, 23 Jul 2008 23:20:00 GMT</pubDate><guid>http://blog.csdn.net/phphot/archive/2008/07/23/2700524.aspx</guid><wfw:comment>http://blog.csdn.net/phphot/comments/2700524.aspx</wfw:comment><comments>http://blog.csdn.net/phphot/archive/2008/07/23/2700524.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/phphot/comments/commentRss/2700524.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2700524</trackback:ping><description>一条RewriteRule指令，定义一条重写规则，规则间的顺序非常重要。对Apache1.2及以后的版本，模板(pattern)是一个POSIX 正则式，用以匹配当前的URL。当前的URL不一定是用记最初提交的URL，因为可能用一些规则在此规则前已经对URL进行了处理。

　　对mod_rewrite来说，！是个合法的模板前缀，表示“非”的意思，这对描述“不满足某种匹配条件”的情况非常方便，或用作最后一条默认规则。当使用！时，不能在模板中有分组的通配符，也不能做后向引用。

　　当匹配成功后，Substitution会被用来替换相应的匹配，它除了可以是普通的字符串以外，还可以包括：
1. $N,引用RewriteRule模板中匹配的相关字串，N表示序号,N=0..9
2. %N,引用最后一个RewriteCond模板中匹配的数据，N表示序号
3. %{VARNAME},服务器变量
4. ${mapname:key|default},映射函数调用

这些特殊内容的扩展，按上述顺序进行。
　　一个URL的全部相关部分都会被Substitution替换，而且这个替换过程&lt;img src ="http://blog.csdn.net/phphot/aggbug/2700524.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>phphot</dc:creator><title>apache2.2.9配置虚拟主机问题</title><link>http://blog.csdn.net/phphot/archive/2008/07/22/2692631.aspx</link><pubDate>Tue, 22 Jul 2008 21:17:00 GMT</pubDate><guid>http://blog.csdn.net/phphot/archive/2008/07/22/2692631.aspx</guid><wfw:comment>http://blog.csdn.net/phphot/comments/2692631.aspx</wfw:comment><comments>http://blog.csdn.net/phphot/archive/2008/07/22/2692631.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/phphot/comments/commentRss/2692631.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2692631</trackback:ping><description>1、# Virtual hosts
Include conf/extra/httpd-vhosts.conf 现在的配置在单独的文件中
2、具体配置，照着example改吧
NameVirtualHost *:80

    ServerName localhost
    DocumentRoot "E:\apache2\htdocs"
     
      AllowOverride All
      Options All
    

3、修改C:\WINDOWS\system32\drivers\etc下hosts文件
增加127.0.0.1   localhost这样的ip hostname内容
 
内容的访问还和Directory有关,要不会无法访问
 
重启看看！！&lt;img src ="http://blog.csdn.net/phphot/aggbug/2692631.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>phphot</dc:creator><title>Apache服务器系统设置与优化</title><link>http://blog.csdn.net/phphot/archive/2008/07/11/2641188.aspx</link><pubDate>Fri, 11 Jul 2008 23:20:00 GMT</pubDate><guid>http://blog.csdn.net/phphot/archive/2008/07/11/2641188.aspx</guid><wfw:comment>http://blog.csdn.net/phphot/comments/2641188.aspx</wfw:comment><comments>http://blog.csdn.net/phphot/archive/2008/07/11/2641188.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/phphot/comments/commentRss/2641188.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2641188</trackback:ping><description>　　Apache服务器的设置文件位于/usr/local/apache/conf/目录下，传统上使用三个配置文件httpd.conf, access.conf和srm.conf， 来配置Apache服务器的行为。httpd.conf提供了最基本的服务器配置，是对守护程序 httpd如何运行的技术描述;srm.conf是服务器的资源映射文件，告诉服务器各种文件的MIME类型，以及如何支持这些文件; access.conf用于配置服务器的访问权限，控制不同用户和计算机的访问限制;这三个配置文件控制着服务器的各个方面的特性，因此为了正常运行服务器便需要设置好这三个文件。

　　除了这三个设置文件之外，Apache还使用mime.types文件用于标识不同文件对应的MIME类型， magic文件设置不同MIME类型文件的一些特殊标识，使得Apache 服务器从文档后缀不能判断出文件的MIME 类型时，能通过文件内容中的这些特殊标记来判断文档的MIME类型。 [iaspec@www conf]$ pwd /usr/local/apache/conf [iaspec@www conf]$ ls&lt;img src ="http://blog.csdn.net/phphot/aggbug/2641188.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>phphot</dc:creator><title>IIS7三大新功能预览:URL重写、应用程序路由和负载均衡</title><link>http://blog.csdn.net/phphot/archive/2008/07/10/2636167.aspx</link><pubDate>Thu, 10 Jul 2008 22:37:00 GMT</pubDate><guid>http://blog.csdn.net/phphot/archive/2008/07/10/2636167.aspx</guid><wfw:comment>http://blog.csdn.net/phphot/comments/2636167.aspx</wfw:comment><comments>http://blog.csdn.net/phphot/archive/2008/07/10/2636167.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/phphot/comments/commentRss/2636167.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2636167</trackback:ping><description>在过去几周里，IIS团队发布了3个IIS扩展更新
URL Rewrite Module CTP1
Application Request Routing CTP1
PowerShell Provider CTP2

URL Rewrite Module

 URL Rewrite Module是一个基于规则的URL重写引擎，用于在URL被Web服务器处理之前改变请求的URL。对于动态Web应用程序，它可以为用户和搜索引擎提供友好的URL，URL重写和重定向是基于HTTP头和服务器变量的，并可以对站点内容进行访问控制。

Application Request Routing
 
Application Request Routing（ARR）是一个基于代理的路由模块，可以根据HTTP头、服务器变量和负载均衡算法将HTTP请求转发到内容服务器上。它可以增强应用程序的效率和可扩展性，更好地利用内容服务器资源，并能够简化应用程序的部署，包括pilot management和A/B测试。ARR还有一种特性叫做shared hoster，用于修改如何共享目前提供的共享主机，&lt;img src ="http://blog.csdn.net/phphot/aggbug/2636167.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>phphot</dc:creator><title>互联网站总量达1.72亿Apache仍居第一</title><link>http://blog.csdn.net/phphot/archive/2008/07/08/2626295.aspx</link><pubDate>Tue, 08 Jul 2008 21:23:00 GMT</pubDate><guid>http://blog.csdn.net/phphot/archive/2008/07/08/2626295.aspx</guid><wfw:comment>http://blog.csdn.net/phphot/comments/2626295.aspx</wfw:comment><comments>http://blog.csdn.net/phphot/archive/2008/07/08/2626295.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/phphot/comments/commentRss/2626295.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2626295</trackback:ping><description>据Netcraft统计,互联网上的网站总量在今年6月份已经达到172338726个,一个月内增长了390万个,其中ThePlanet.com新增了63.2万个,使其成为全球第六大主机服务提供商.


不过虽然网站总量规模巨大,但活跃网站只有大约7000万个,约占总数的四成左右.
&lt;img src ="http://blog.csdn.net/phphot/aggbug/2626295.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>phphot</dc:creator><title>mysql主从服务器同步体会心得</title><link>http://blog.csdn.net/phphot/archive/2008/06/30/2596801.aspx</link><pubDate>Mon, 30 Jun 2008 00:14:00 GMT</pubDate><guid>http://blog.csdn.net/phphot/archive/2008/06/30/2596801.aspx</guid><wfw:comment>http://blog.csdn.net/phphot/comments/2596801.aspx</wfw:comment><comments>http://blog.csdn.net/phphot/archive/2008/06/30/2596801.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/phphot/comments/commentRss/2596801.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2596801</trackback:ping><description>原来看过MYSQL同步数据的实现，可是自己还没有动过手，今天没什么事就玩一玩，正好在旁边有另一台空电脑，都在同一个路由器下。哈哈，正好。

不过首先在找配置文件上就把我卡了好久，由于我用的是xampp安装包，在xampp/mysql/bin目录下看始终没有找到my.cnf，在c:windows目录下也没有发现，
&lt;img src ="http://blog.csdn.net/phphot/aggbug/2596801.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>phphot</dc:creator><title>awstats安装和配置</title><link>http://blog.csdn.net/phphot/archive/2008/06/29/2596787.aspx</link><pubDate>Sun, 29 Jun 2008 23:58:00 GMT</pubDate><guid>http://blog.csdn.net/phphot/archive/2008/06/29/2596787.aspx</guid><wfw:comment>http://blog.csdn.net/phphot/comments/2596787.aspx</wfw:comment><comments>http://blog.csdn.net/phphot/archive/2008/06/29/2596787.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/phphot/comments/commentRss/2596787.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2596787</trackback:ping><description>http://awstats.sourceforge.net/
tar .. &amp;&amp; cd …. &amp;&amp; perl awstats_configure.pl
#然后根据提示操作,可以不要这步,直接根据自带的模版定义
#cp  ../cgi-bin/awstats.model.conf /etc/awstats/common.conf&lt;img src ="http://blog.csdn.net/phphot/aggbug/2596787.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>phphot</dc:creator><title>Apache、Nginx、Lighttpd对比</title><link>http://blog.csdn.net/phphot/archive/2008/06/29/2596776.aspx</link><pubDate>Sun, 29 Jun 2008 23:46:00 GMT</pubDate><guid>http://blog.csdn.net/phphot/archive/2008/06/29/2596776.aspx</guid><wfw:comment>http://blog.csdn.net/phphot/comments/2596776.aspx</wfw:comment><comments>http://blog.csdn.net/phphot/archive/2008/06/29/2596776.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/phphot/comments/commentRss/2596776.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2596776</trackback:ping><description>* 经典的Web服务器
* 除了慢没有别的缺点了
* 对了，Apache2对fcgi支持并不好
* 非常好用的proxy和proxy_ajp（很多人用它作为tomcat的前端）
* 不支持epoll（这年头，epoll几乎是性能的必备）&lt;img src ="http://blog.csdn.net/phphot/aggbug/2596776.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>phphot</dc:creator><title>自己动手写 HTTP Server</title><link>http://blog.csdn.net/phphot/archive/2008/06/29/2595369.aspx</link><pubDate>Sun, 29 Jun 2008 01:44:00 GMT</pubDate><guid>http://blog.csdn.net/phphot/archive/2008/06/29/2595369.aspx</guid><wfw:comment>http://blog.csdn.net/phphot/comments/2595369.aspx</wfw:comment><comments>http://blog.csdn.net/phphot/archive/2008/06/29/2595369.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/phphot/comments/commentRss/2595369.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2595369</trackback:ping><description>一般来说，HTTP Server 也是我们常说的Web服务器，大名鼎鼎的 Apache，还是微软的 IIS （Internet Information Server），开源领域的有 Lighttpd 和最近风头正劲的 Nginx 都是典型的Web服务器。最近想想能不能做一个Web服务器，就提供简单的功能，但是速度很快，能够作为一个专门处理 HTML/CSS/JS/Image 的Web服务器，那样能够让静态资源文件迅速的被访问到，如果有反向代理功能就更帅了，当然了，要是有Cache功能啥的，并且能够编写自定义插件（扩展）就很完美了。。。YY中。。。&lt;img src ="http://blog.csdn.net/phphot/aggbug/2595369.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>phphot</dc:creator><title>豆瓣的 Web 服务器</title><link>http://blog.csdn.net/phphot/archive/2008/06/28/2595005.aspx</link><pubDate>Sat, 28 Jun 2008 20:39:00 GMT</pubDate><guid>http://blog.csdn.net/phphot/archive/2008/06/28/2595005.aspx</guid><wfw:comment>http://blog.csdn.net/phphot/comments/2595005.aspx</wfw:comment><comments>http://blog.csdn.net/phphot/archive/2008/06/28/2595005.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/phphot/comments/commentRss/2595005.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2595005</trackback:ping><description>豆瓣最近发布新功能有些"疯狂"，所以服务器也有新的部署。看到阿北同学在豆瓣广播里说：

豆瓣的第二台应用服务器终于投入了使用。Hongqn 忙了一晚上就完成了部署。第一台服务器支撑到 500 万动态PV/天，服务 On Demand 即时分布式部署......

500 万 PV , 还是动态 PV, 是个很惊人的数字。因为，如果都能达到一台机器支撑 500 万，那么国内稍有点规模的网站(就说动态 PV 上亿的吧)，只需要 20 台 Web 服务器就够了。事实上，即使比较强调技术的网站怕也要上百台 Web 服务器的规模。
&lt;img src ="http://blog.csdn.net/phphot/aggbug/2595005.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>phphot</dc:creator><title>自己动手写 HTTP Server</title><link>http://blog.csdn.net/phphot/archive/2008/06/24/2580607.aspx</link><pubDate>Tue, 24 Jun 2008 00:25:00 GMT</pubDate><guid>http://blog.csdn.net/phphot/archive/2008/06/24/2580607.aspx</guid><wfw:comment>http://blog.csdn.net/phphot/comments/2580607.aspx</wfw:comment><comments>http://blog.csdn.net/phphot/archive/2008/06/24/2580607.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/phphot/comments/commentRss/2580607.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2580607</trackback:ping><description>一般来说，HTTP Server 也是我们常说的Web服务器，大名鼎鼎的 Apache，还是微软的 IIS （Internet Information Server），开源领域的有 Lighttpd 和最近风头正劲的 Nginx 都是典型的Web服务器。最近想想能不能做一个Web服务器，就提供简单的功能，但是速度很快，能够作为一个专门处理 HTML/CSS/JS/Image 的Web服务器，那样能够让静态资源文件迅速的被访问到，如果有反向代理功能就更帅了，当然了，要是有Cache功能啥的，并且能够编写自定义插件（扩展）就很完美了。。。YY中。。。&lt;img src ="http://blog.csdn.net/phphot/aggbug/2580607.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>phphot</dc:creator><title>apache2配置优化以及性能测试小结</title><link>http://blog.csdn.net/phphot/archive/2008/06/13/2544949.aspx</link><pubDate>Fri, 13 Jun 2008 20:31:00 GMT</pubDate><guid>http://blog.csdn.net/phphot/archive/2008/06/13/2544949.aspx</guid><wfw:comment>http://blog.csdn.net/phphot/comments/2544949.aspx</wfw:comment><comments>http://blog.csdn.net/phphot/archive/2008/06/13/2544949.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/phphot/comments/commentRss/2544949.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2544949</trackback:ping><description>    公司中现有多个apache平台，其中网元管理系统、升级和注册授权系统、离线浏览系统和应用组所开发的系统都是运行在专用的服务器中，他们都是以业务为主的系统，所拥有的硬件资源比较多，可以着重优化apache的运行速度，以适当的资源换取更高的运行速度。

    但是设备中运行的各个配置程序，他们是以性能为主的系统，所运行的环境就要相对恶劣，硬件资源限制非常多，不能供web程序随意使用，他们的优化方向应该是保证运行速度的基础上尽力压低资源消耗。

    受限于此，很多外挂式加速程序都无法使用了，比如memcache、eaccelerator等，使用这些工具的前提就是内存足够大，或者资源足够多，通常是专用的apache服务器上才会用到，也就是我们的第一类系统中才可以使用的，在一个嵌入系统中使用其实是得不尝失的。下面将着重研究两种情况都使用的优化方法。
&lt;img src ="http://blog.csdn.net/phphot/aggbug/2544949.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>phphot</dc:creator><title>再谈应用服务器和web服务器的整合</title><link>http://blog.csdn.net/phphot/archive/2008/06/13/2544932.aspx</link><pubDate>Fri, 13 Jun 2008 20:15:00 GMT</pubDate><guid>http://blog.csdn.net/phphot/archive/2008/06/13/2544932.aspx</guid><wfw:comment>http://blog.csdn.net/phphot/comments/2544932.aspx</wfw:comment><comments>http://blog.csdn.net/phphot/archive/2008/06/13/2544932.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/phphot/comments/commentRss/2544932.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2544932</trackback:ping><description>来源： yananay - JavaEye技术网站

关于应用服务器和web服务器的整合，有很多的资料了，可是都讲的半生不熟的。根据这几天整合tomcat 和 iis 的经验，再次聊聊这个话题。


首先我们应该对应用服务器和web服务器有一个清晰的概念。所谓的应用服务器，就是提供应用的服务器，这里的应用有很多，比如java应用，ruby 应用，或者 c#应用。
&lt;img src ="http://blog.csdn.net/phphot/aggbug/2544932.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>phphot</dc:creator><title>能够保护服务器12个热点技术</title><link>http://blog.csdn.net/phphot/archive/2008/06/07/2518640.aspx</link><pubDate>Sat, 07 Jun 2008 00:12:00 GMT</pubDate><guid>http://blog.csdn.net/phphot/archive/2008/06/07/2518640.aspx</guid><wfw:comment>http://blog.csdn.net/phphot/comments/2518640.aspx</wfw:comment><comments>http://blog.csdn.net/phphot/archive/2008/06/07/2518640.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/phphot/comments/commentRss/2518640.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2518640</trackback:ping><description>现在服务器中存储的信息越来越多，而且也越来越重要; 为防止服务器发生意外或受到意外攻击，而导致大量重要的数据丢失，服务器一般都会采用许多重要的安全保护技术来确保其安全。下面就介绍一些主要的服务器安全热点技术。&lt;img src ="http://blog.csdn.net/phphot/aggbug/2518640.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>phphot</dc:creator><title>OpenSSL简介</title><link>http://blog.csdn.net/phphot/archive/2008/05/25/2480002.aspx</link><pubDate>Sun, 25 May 2008 15:19:00 GMT</pubDate><guid>http://blog.csdn.net/phphot/archive/2008/05/25/2480002.aspx</guid><wfw:comment>http://blog.csdn.net/phphot/comments/2480002.aspx</wfw:comment><comments>http://blog.csdn.net/phphot/archive/2008/05/25/2480002.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/phphot/comments/commentRss/2480002.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2480002</trackback:ping><description>作为一种了解，因为apache有俩包，我一直用的那个是noopenssl的，有个模块启动不了，现在装个openssl，顺便了解下ssl的内容，见笑了。

SSL，Security Socket Layer,是一个安全传输协议，在Internet网上进行数据保护和身份确认。OpenSSL是一个开放源代码的实现了SSL及相关加密技术的软件包，由加拿大的Eric Yang等发起编写的。OpenSSL的官方网站为http://www.openssl.org/，源代码可以从ftp://ftp.openssl.org/source/上下载，也可以从OpenSSL的镜像网站下载。
&lt;img src ="http://blog.csdn.net/phphot/aggbug/2480002.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>