<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
<channel>
<title>成刚网志 &amp;amp;&amp;amp; CBolg Application</title>
<link>http://www.chenggang.net</link>
<description><![CDATA[记录我的网事历程，架起沟通的桥梁！欢迎留言！
]]></description>
<lastBuildDate>Sun, 20 May 2012 22:43:39 +0800</lastBuildDate>
<copyright>Copyright &amp;copy; 2012 by CBolg Application.</copyright>
<language>zh-cn</language>
<pubDate>Mon, 21 May 2012 14:30:28 +0800</pubDate>
<item>
<title>让apache支持shtml</title>
<summary><![CDATA[什么是SSI？
SSI是英文Server Side Includes的缩写，翻译成中文就是服务器端包含的意思。从技术角度上说，SSI就是在HTML文件中，可以通过注释行调用的命令或指针。SSI具有强大的功能，只要使用一条简单的SSI命令就可以实现整个网站的内容更新，时间和日期的动态显示，以及执行shell和CGI脚本程序等复杂的功能。]]></summary>
<description><![CDATA[<p>
	什么是SSI？<br />
	SSI是英文Server Side Includes的缩写，翻译成中文就是服务器端包含的意思。从技术角度上说，SSI就是在HTML文件中，可以通过注释行调用的命令或指针。SSI具有强大的功能，只要使用一条简单的SSI命令就可以实现整个网站的内容更新，时间和日期的动态显示，以及执行shell和CGI脚本程序等复杂的功能。<br />
	<br />
	如何使你的Apache服务器支持SSI？<br />
	<br />
	Apache默认是不支持SSI的，需要我们更改httpd.conf来进行配置。我这里以windows平台的Apache 2.0.x为例，打开conf目录下的httpd.conf文件，搜索&ldquo;AddType text/html .shtml&rdquo;，搜索结果：<br />
	<br />
	# AddType text/html .shtml<br />
	# AddOutputFilter INCLUDES .shtml<br />
	<br />
	<br />
	把这两行前面的#去掉。<br />
	<br />
	<br />
	然后搜索&ldquo;Options Indexes FollowSymLinks&rdquo;<br />
	在搜索到的那一行后面添加&ldquo; Includes&rdquo;<br />
	即将该行改变为 Options Indexes FollowSymLinks Includes<br />
	<br />
	<br />
	保存httpd.conf，重起apache即可。<br />
	<br />
	到此我们就完成了对Apache SSI的设置。</p>
<p style="text-align: right;">
	摘至：<a href="http://hi.baidu.com/us_hosting/blog/item/9b3ac15867759d82810a18e2.html">http://hi.baidu.com/us_hosting/blog/item/9b3ac15867759d82810a18e2.html</a></p>
]]></description>
<link>http://www.chenggang.net/posts/34</link>
<pubDate>Mon, 22 Sep 2008 17:30:00 +0800</pubDate>
<author>小豆</author>
<category>Apache</category>
<guid isPermaLink="true">http://www.chenggang.nethttp://www.chenggang.net/posts/34</guid>
</item>
</channel></rss>
