新闻建站cms系统、政府cms系统定制开发

广州网站建设公司-阅速公司

asp.net新闻发布系统、报纸数字报系统方案
/
http://www.ysneo.com/
广州网站建设公司
您当前位置:首页>系统知识

系统知识

ISAPI_Rewrite图片防盗链不起作用经验总结

发布时间:2009/9/5 10:20:51  作者:  阅读:1188  

广告:阿里云采购优惠专区

ISAPI_Rewrite图片防盗链不起作用经验总结:

1. ISAPI_Rewrite非full版
2. ISAPI_Rewrite已过期
3. iis没有配好(扩展允许、网站上筛选器要加上dll)
4. httpd.ini里面没有写好正则

httpd.ini示例

[ISAPI_Rewrite]

# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Block external access to the httpd.ini and

httpd.parse.errors files
RewriteRule /httpd(?:\.ini|\.parse\.errors).* / [F,I,O]
# Block external access to the Helper ISAPI Extension
RewriteRule .*\.isrwhlp / [F,I,O]
RewriteCond Host: (.+)
RewriteCond Referer: (?!http://\1.*).*
RewriteCond Referer: (?!http://

(.*\.1718vip\.com|.*\.scef\.com\.cn|.*\.smtpcb\.com\.cn|.*

\.laserfair\.cn|.*\.laserfair\.com\.cn|.*\.hkgii\.com|.*\.

cha600\.com)).*
# RewriteCond Referer: ^(?!http://

(.*\.1718vip\.com|.*\.scef\.com\.cn|.*\.smtpcb\.com\.cn|.*

\.laserfair\.cn|.*\.laserfair\.com\.cn|.*\.hkgii\.com|.*\.

cha600\.com)).*$
# RewriteCond Referer: ^(?!http://

(.*\.1718vip\.com|.*\.scef\.com\.cn|.*\.smtpcb\.com\.cn|.*

\.laserfair\.cn|.*\.laserfair\.com\.cn|.*\.hkgii\.com|.*\.

cha600\.com).*).*$
RewriteRule .*\.(?:gif|jpg|png|exe|rar|zip|mp3|swf)

/Block.gif [I,O,N]

广告:阿里云新人采购专场

相关文章
ISAPI_Rewrite图片防盗链不起作用经验总结
cms新闻系统购买咨询
扫描关注 广州阅速软件科技有限公司
扫描关注 广州阅速科技