<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[歌声与微笑]]></title> 
<link>http://www.gsywx.com/index.php</link> 
<description><![CDATA[歌声与微笑]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[歌声与微笑]]></copyright>
<item>
<link>http://www.gsywx.com/read.php/.htm</link>
<title><![CDATA[Nginx怎么打开目录浏览功能？]]></title> 
<author>admin &lt;admin@gsywx.com&gt;</author>
<category><![CDATA[电脑类]]></category>
<pubDate>Thu, 03 Jun 2010 12:00:57 +0000</pubDate> 
<guid>http://www.gsywx.com/read.php/.htm</guid> 
<description>
<![CDATA[ 
	你还记得apache下打开目录浏览功能的参数吗<br/><hr/>&nbsp;&nbsp;<br/>&nbsp;&nbsp; Options FollowSymLinks<br/>&nbsp;&nbsp;&nbsp;&nbsp;AllowOverride None<br/>&nbsp;&nbsp;&nbsp;&nbsp;Options Indexes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #就加这句就可以了,目录按需要选择<br/><hr/><br/><br/><br/>在Nginx下默认是不允许列出整个目录的。如需此功能，<br/>先打开nginx.conf文件，在location server 或 http段中加入<br/><br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content">autoindex on;</div></div><br/><br/>另外两个参数最好也加上去:<br/><br/>autoindex_exact_size off;<br/>默认为on，显示出文件的确切大小，单位是bytes。<br/>改为off后，显示出文件的大概大小，单位是kB或者MB或者GB<br/><br/>autoindex_localtime on;<br/>默认为off，显示的文件时间为GMT时间。<br/>注意:改为on后，显示的文件时间为文件的服务器时间<br/><br/>server&#123;<br/>listen 80;<br/>servername www.A.com;<br/>autoindex on;<br/>autoindex_exact_size off;<br/>autoindex_localtime on;<br/>root /home/www/;<br/>&#125;<br/>详细参照:http://wiki.nginx.org/NginxChsHttpAutoindexModule<br/><br/>Tags - <a href="http://www.gsywx.com/go.php/tags/nginx/" rel="tag">nginx</a>
]]>
</description>
</item><item>
<link>http://www.gsywx.com/read.php/.htm#blogcomment</link>
<title><![CDATA[[评论] Nginx怎么打开目录浏览功能？]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.gsywx.com/read.php/.htm#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>