<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[沧海一粟]]></title> 
<link>http://www.dzhope.com/index.php</link> 
<description><![CDATA[Web系统架构与服务器运维,php开发]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[沧海一粟]]></copyright>
<item>
<link>http://www.dzhope.com/post//</link>
<title><![CDATA[如何防止用户浏览网站目录]]></title> 
<author>jed &lt;jed521@163.com&gt;</author>
<category><![CDATA[服务器技术]]></category>
<pubDate>Sat, 11 Nov 2006 03:20:09 +0000</pubDate> 
<guid>http://www.dzhope.com/post//</guid> 
<description>
<![CDATA[ 
	今天，偶然发现服务器网站目录，可以任意浏览，存在安全隐患，于是，就从以前的安装文档中查了，最终解决了。<br/>方法如下：<br/>我的服务器是用的windows server 2003做的服务器，php的环境用的是easyapm_v2.0.2.exe服务器组件。<br/>修改d:&#92;usr&#92;local&#92;apache2&#92;conf&#92;vhost&#92;***.conf<br/>***代表名称<br/>最后是<br/>### 文档路径权限定义 ###<br/> &nbsp; &nbsp;<Directory "D:/usr/www"><br/> &nbsp; &nbsp; &nbsp; &nbsp;Options indexs FollowSymLinks MultiViews<br/> &nbsp; &nbsp; &nbsp; &nbsp;AllowOverride All<br/> &nbsp; &nbsp; &nbsp; &nbsp;Order allow,deny<br/> &nbsp; &nbsp; &nbsp; &nbsp;Allow from all<br/> &nbsp; &nbsp;</Directory><br/><br/></VirtualHost><br/><br/>将options后的indexs去掉，重启apache即可！
]]>
</description>
</item><item>
<link>http://www.dzhope.com/post//#blogcomment</link>
<title><![CDATA[[评论] 如何防止用户浏览网站目录]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.dzhope.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>