<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[虫虫的blog  SINCE2004]]></title> 
<link>http://www.zhenghe.biz/index.php</link> 
<description><![CDATA[人生幻灯片  -   前半生(身)，不要怕；后半生(身)，不要悔！]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[虫虫的blog  SINCE2004]]></copyright>
<item>
<link>http://www.zhenghe.biz/read.php/.htm</link>
<title><![CDATA[apache防盗链设置]]></title> 
<author>网络毛毛虫 &lt;admin@yourname.com&gt;</author>
<category><![CDATA[技术文章]]></category>
<pubDate>Tue, 17 Jan 2006 17:48:12 +0000</pubDate> 
<guid>http://www.zhenghe.biz/read.php/.htm</guid> 
<description>
<![CDATA[ 
	apache中的防盗链设置，可以针对虚拟主机或目录设置<br/><br/><VirtualHost *:80><br/> &nbsp; &nbsp;ServerAdmin &nbsp;email@yourdomain.com<br/> &nbsp; &nbsp;DocumentRoot /dir/of/yourdirname<br/> &nbsp; &nbsp;ServerName www.yourdomain.com<br/> &nbsp; &nbsp;ServerAlias &nbsp;yourdomain.com<br/><br/>####下面是放盗链的设置<br/><br/>####### &nbsp;首先设置哪些网址可以正常访问，其他的被认为是盗链<br/>SetEnvIfNoCase Referer "^http://www\.yourdomain\.com" local_ref=1<br/>SetEnvIfNoCase Referer "^http://yourdomain\.com" local_ref=1<br/><br/>## 设置直接通过浏览器可以访问<br/>SetEnvIfNoCase Referer "^$" local_ref=1<br/><br/>## 这样的形式可以设定某个目录或文件不防盗链<br/>SetEnvIf Request_URI logo+ local_ref=1<br/><br/>## 设定哪些后缀的文件要开启防盗链<br/><FilesMatch "\.(txt&#124;doc&#124;gif&#124;jpg&#124;mp3&#124;zip&#124;rar)"><br/>Order Allow,Deny<br/>Allow from env=local_ref<br/></FilesMatch><br/><br/></VirtualHost>
]]>
</description>
</item><item>
<link>http://www.zhenghe.biz/read.php/.htm#blogcomment</link>
<title><![CDATA[[评论] apache防盗链设置]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.zhenghe.biz/read.php/.htm#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>