如果别人盗链我们的图片,我们就让他们显示我们的广告。呵呵!
在httpd.conf 加入下面的语句。

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://www.5217U.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.5217U.com$ [NC]
RewriteRule .*\.(gif|jpg|png)$http://www.5217U.com/404.jpg[R,NC]


这样就大功告成了。肖飞倾情奉献!
FreeBSD | 评论(0) | 引用(0) | 阅读(5828)
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]