Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] Rewrite防盗链规则求助。

[复制链接]
玮玮来啦 发表于 2010-9-24 00:05:27 | 显示全部楼层 |阅读模式
本帖最后由 玮玮来啦 于 2010-9-24 00:06 编辑

RewriteCond Referer: (?!http://\1.*).*

这条好像防了。但是我网站使用www.xxx.com时图片等显示正常。

使用xxx.com时就显示防盗了。高手们帮忙看看。
 楼主| 玮玮来啦 发表于 2010-9-24 16:08:21 | 显示全部楼层
可有人在??!!
回复

使用道具 举报

 楼主| 玮玮来啦 发表于 2010-9-26 13:15:50 | 显示全部楼层
可有人在?
回复

使用道具 举报

shaoey 发表于 2010-9-26 13:31:39 | 显示全部楼层
RewriteCond Host: (.+)
RewriteCond Referer: (?!http://\1.*).*
RewriteCond Referer: (?!http://(?:.*\.xxxxxx\.com|xxxxxx\.com|.*\.google\.com|google.com|.*\.baidu\.com|baidu\.com)).+
回复

使用道具 举报

 楼主| 玮玮来啦 发表于 2010-9-27 20:02:41 | 显示全部楼层
shaoey 发表于 2010-9-26 13:31
RewriteCond Host: (.+)
RewriteCond Referer: (?!http://\1.*).*
RewriteCond Referer: (?!http://(?:.* ...

shaoey,好像这样不行喔。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-6-27 15:53 , Processed in 0.099578 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表