<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[刘新修]]></title> 
<link>http://pic1.liuxinxiu.com:80/index.php</link> 
<description><![CDATA[刘新修的个人博客 (Liuxinxiu'S Blog)]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[刘新修]]></copyright>
<item>
<link>http://pic1.liuxinxiu.com:80/apache_shtml/</link>
<title><![CDATA[让apache支持shtml 文件]]></title> 
<author>刘新修 &lt;admin@yourname.com&gt;</author>
<category><![CDATA[web服务器]]></category>
<pubDate>Thu, 02 Sep 2010 16:33:36 +0000</pubDate> 
<guid>http://pic1.liuxinxiu.com:80/apache_shtml/</guid> 
<description>
<![CDATA[ 
	<p><strong>什么是SSI？</strong><br />SSI是英文Server Side Includes的缩写，翻译成中文就是服务器端包含的意思。从技术角度上说，SSI就是在HTML文件中，可以通过注释行调用的命令或指针。SSI具有强大的功能，只要使用一条简单的SSI命令就可以实现整个网站的内容更新，时间和日期的动态显示，以及执行shell和CGI脚本程序等复杂的功能。</p><p><strong>如何使你的Apache服务器支持SSI？</strong></p><p>Apache默认是不支持SSI的，需要我们更改httpd.conf来进行配置。我这里以windows平台的Apache 2.0.x为例，打开conf目录下的<span style="color: #ff0000"><strong>httpd.conf</strong></span>文件，搜索&ldquo;<span style="color: #0000ff"><strong>AddType text/html .shtml</strong></span>&rdquo;，搜索结果：</p><div class="dp-HighLighter"><div class="bar"><div class="tools">Code:</div></div><ol class="dp-c">&nbsp;&nbsp;&nbsp;&nbsp;<li class="alt"><span><span class="preprocessor"># AddType text/html .shtml </span></span></li>&nbsp;&nbsp;&nbsp;&nbsp;<li><span><span class="preprocessor"># AddOutputFilter INCLUDES .shtml</span><span> </span></span></li></ol><link href="http://liuxinxiu.com/editor/fckeditor/editor/plugins/HighLighter/dp.SyntaxHighLighter/Styles/SyntaxHighLighter.css" type="text/css" rel="stylesheet" /></div><p>把这两行前面的#去掉。</p><div class="codeText"><div class="codeHead">C#代码</div><ol class="dp-c">&nbsp;&nbsp;&nbsp;&nbsp;<li class="alt"><span><span>然后搜索&ldquo;Options Indexes FollowSymLinks&rdquo; </span></span></li>&nbsp;&nbsp;&nbsp;&nbsp;<li><span>在搜索到的那一行后面添加&ldquo; Includes&rdquo; </span></li>&nbsp;&nbsp;&nbsp;&nbsp;<li class="alt"><span>即将该行改变为 Options Indexes FollowSymLinks Includes </span></li></ol></div><p>&nbsp;</p><p>保存httpd.conf，重起apache即可。</p><p>到此我们就完成了对Apache SSI的设置。</p><br/>Tags - <a href="http://pic1.liuxinxiu.com:80/tags/shtml/" rel="tag">shtml</a>
]]>
</description>
</item><item>
<link>http://pic1.liuxinxiu.com:80/apache_shtml/#blogcomment</link>
<title><![CDATA[[评论] 让apache支持shtml 文件]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://pic1.liuxinxiu.com:80/apache_shtml/#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>