<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
  <channel>
    <title><![CDATA[振华博客]]></title> 
    <link>http://www.zhenhua.org/</link> 
    <description><![CDATA[振华博客,振华's blog]]></description> 
    <language>UTF-8</language> 
    <copyright><![CDATA[Copyright 2010, 振华博客]]></copyright> 
    <webMaster><![CDATA[zenhua@gmail.com (振华)]]></webMaster> 
    <generator>LBS v2.0.313</generator> 
    <pubDate>Tue, 07 Sep 2010 19:53:02 +0800</pubDate> 
    <ttl>60</ttl>
  
    <item>
      <title><![CDATA[Apache2/httpd.conf[中文]]]></title> 
      <link><![CDATA[http://www.zhenhua.org/article.asp?id=232]]></link> 
      <category><![CDATA[Apache]]></category> 
      <author><![CDATA[振华 <null@null.com>]]></author> 
      <pubDate>Thu, 09 Sep 2004 02:07:36 +0800</pubDate> 
      <description><![CDATA[<div class="code">#<br /># 基于 NCSA 服务的配置文件。<br />#<br />#这是Apache服务器主要配置文件。<br />#它包含服务器的影响服务器运行的配置指令。<br />#<br />#不要只是简单的阅读这些指令信息而不去理解它。<br />#这里只是做了简单的说明，如果你没有参考在线文件，你就会被警告。<br />#<br />#这些配置指令被分为下面三个部分：<br />#1. 控制整个Apache服务器行为的部分（即全局环境变量）<br />#2. 定义主要或者默认服务参数的指令，也为所有虚拟主机提供默认的设置参数<br />#3. 虚拟主机的设置参数<br />#<br />#配置和日志文件名：如果你指定的文件名以“/”开始（win32下以“dirver:/”），<br />#服务器将使用绝对路径，如果文件名不是以“/”开始的，那么它将把ServerRoot<br />#的值附加在文件名的前面，例如，对“logs/foo.log&quot;，如果ServerRoot的值<br />#为“/usr/local/apache2”，则该文件应为“/usr/local/apache2/logs/foo.log”<br />#<br />##第一区：全局环境参数<br />#<br />#这里设置的参数将影响整个Apache服务器的行为；<br />#例如Apache能够处理的并发请求的数量等。</div>]]></description>
      <wfw:commentRss><![CDATA[http://www.zhenhua.org/feed.asp?q=comment&id=232]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[Apache2+php4]]></title> 
      <link><![CDATA[http://www.zhenhua.org/article.asp?id=230]]></link> 
      <category><![CDATA[Apache]]></category> 
      <author><![CDATA[振华 <null@null.com>]]></author> 
      <pubDate>Thu, 09 Sep 2004 02:06:26 +0800</pubDate> 
      <description><![CDATA[Windows:<br /><div class="code">C:\Php\Dlls --&gt; copy --&gt; %windir%\System32<br />C:\Php\Php4ts.dll --&gt; copy --&gt; %windir%\System32<br /><br />Php.ini <br />doc_root = c:\apache\apache2\htdocs<br />extension_dir = c:\php\extensions<br />session.save_path = c:/temp<br /><br />LoadModule php4_module c:/php/sapi/php4apache2.dll <br />AddType application/x-httpd-php .php3 .php .php3<br />or:<br />ScriptAlias /php/ &quot;c:/php/&quot;<br />Action application/x-httpd-php &quot;/php/php.exe&quot;<br /><br />Test:<br />&lt;? phpinfo(); ?&gt; </div> <br /><br />Linux:]]></description>
      <wfw:commentRss><![CDATA[http://www.zhenhua.org/feed.asp?q=comment&id=230]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[Apache2防盗链]]></title> 
      <link><![CDATA[http://www.zhenhua.org/article.asp?id=229]]></link> 
      <category><![CDATA[Apache]]></category> 
      <author><![CDATA[振华 <null@null.com>]]></author> 
      <pubDate>Thu, 09 Sep 2004 02:05:05 +0800</pubDate> 
      <description><![CDATA[首先要确认你的服务器或空间的服务器解译引擎为Apache2，还有支持.htaccess客户设置文件，<br />如果你有自己的服务器就请先对./conf/httpd.conf 文件做以下修改<br />找到：#LoadModule rewrite_module modules/mod_rewrite.so<br />把前面的 # 给去丢<br />找到等一个 AllowOverride None 改为 AllowOverride All<br />重启Apache2服务器接下就是做一个 .htaccess 文件了，其 .htaccess 文件内容为<br /><br />RewriteEngine on<br />RewriteCond % !^<span style="color:#8B0000">http://yoyo.com.ru</span>/.*$      [NC]<br />RewriteCond % !^<span style="color:#8B0000">http://yoyo.com.ru</span>$      [NC]<br />RewriteCond % !^<span style="color:#8B0000">http://www.yoyo.com.ru</span>/.*$      [NC]<br />RewriteCond ]]></description>
      <wfw:commentRss><![CDATA[http://www.zhenhua.org/feed.asp?q=comment&id=229]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[Apache1/httpd.conf]]></title> 
      <link><![CDATA[http://www.zhenhua.org/article.asp?id=225]]></link> 
      <category><![CDATA[Apache]]></category> 
      <author><![CDATA[振华 <null@null.com>]]></author> 
      <pubDate>Thu, 09 Sep 2004 02:00:13 +0800</pubDate> 
      <description><![CDATA[<div class="code">#<br /># Based upon the NCSA server configuration files originally by Rob McCool.<br />#<br /># This is the main Apache server configuration file.  It contains the<br /># configuration directives that give the server its instructions.<br /># See &lt;URL:http&#58;//www.apache.org/docs/&gt; for detailed information about<br /># the directives.<br />#<br /># Do NOT simply read the instructions in here without understanding<br /># what they do.  They&#39;re here only as hints or reminders.  If you are unsure<br /># consult the online docs. You have been warned.  </div>]]></description>
      <wfw:commentRss><![CDATA[http://www.zhenhua.org/feed.asp?q=comment&id=225]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[Apache1多站点]]></title> 
      <link><![CDATA[http://www.zhenhua.org/article.asp?id=223]]></link> 
      <category><![CDATA[Apache]]></category> 
      <author><![CDATA[振华 <null@null.com>]]></author> 
      <pubDate>Thu, 09 Sep 2004 01:59:11 +0800</pubDate> 
      <description><![CDATA[<div class="code">&lt;VirtualHost *&gt;<br />ServerAdmin webmaster@dummy-host.example.com<br />DocumentRoot F:/homepage<br />ServerName test.test.net<br />ErrorLog logs/dummy-host.example.com-error_log<br />CustomLog logs/dummy-host.example.com-access_log common<br />&lt;/VirtualHost&gt;</div>]]></description>
      <wfw:commentRss><![CDATA[http://www.zhenhua.org/feed.asp?q=comment&id=223]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[Apache URL重定向指南]]></title> 
      <link><![CDATA[http://www.zhenhua.org/article.asp?id=216]]></link> 
      <category><![CDATA[Apache]]></category> 
      <author><![CDATA[振华 <null@null.com>]]></author> 
      <pubDate>Thu, 09 Sep 2004 01:55:19 +0800</pubDate> 
      <description><![CDATA[mod_rewrite入门<br /><br />Apache mod_rewrite模块是一个处理URL而又极为复杂的模块，使用mod_rewrite你可处理所有和URL有关的问题，你所付出的就是花时间去了解mod_rewrite的复杂架构，一般初学者都很难实时理解mod_rewrite的用法，有时Apache专家也要mod_rewrite来发展Apache的新功能。<br /><br />换句话说，当你成功使用mod_rewrite做到你期望的东西，就不要试图再接触mod_rewrite了，因为mod_rewrite的功能实在过于强大。本章的例子会介绍几个成功的例子给你摸索，不像FAQ形式般把你的问题解答。<br /><br />实用解决方法<br /><br />这里还有很多未被发掘的解决方法，请大家耐心地学习如何使用mod_rewrite。<br /><br />注意: 由于各人的服务器的配置都有所不同，你可能要更改设定来测试以下例子，例如使用mod_alias和mod_userdir时要加上[PT]，或者使用.htaccess来重定向而非主设定文件等，请尽量理解各例子如何运作，不要生吞活剥地背诵。<br /><br />URL规划<br /><br />正规URL<br /><br />描述:<br /><br />在某些网页服务器中，一项资源可能会有]]></description>
      <wfw:commentRss><![CDATA[http://www.zhenhua.org/feed.asp?q=comment&id=216]]></wfw:commentRss>
    </item>
      
  </channel>
</rss>
