raksmart活动促销

分享

写回答

发帖

问个防盗链的问题

回答|共 17 个

一路同行

发表于 2009-8-3 17:10:27 | 显示全部楼层

主机上其他网站可以访问图片吗?

razrcs

发表于 2009-8-3 17:15:57 | 显示全部楼层

防盗链关闭后,大多不行,但是有一个网站就行

一路同行

发表于 2009-8-3 17:40:22 | 显示全部楼层

关闭防盗链,图片还是不能被访问?你看看.htaccess里的内容

razrcs

发表于 2009-8-3 17:41:06 | 显示全部楼层

关了能访问~我刚说错了,开启后有的行有的不行

一路同行

发表于 2009-8-3 17:54:49 | 显示全部楼层

你在.htaccess里添加你的站点地址看看

razrcs

发表于 2009-8-3 18:01:43 | 显示全部楼层

!^http://comewan.shineidc.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://dreamxis.blogbus.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://dreamxis.blogbus.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://dreamxis.shineidc.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://dreamxis.shineidc.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://forum.comewan.cn/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://forum.comewan.cn$      [NC]
RewriteCond %{HTTP_REFERER} !^http://idisk.shineidc.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://idisk.shineidc.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://lx.shineidc.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://lx.shineidc.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://razr.shineidc.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://razr.shineidc.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://shineidc.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://shineidc.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.comewan.shineidc.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.comewan.shineidc.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.dreamxis.shineidc.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.dreamxis.shineidc.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://dreamxis.blogbus.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://dreamxis.blogbus.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.forum.comewan.cn/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.forum.comewan.cn$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.idisk.shineidc.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.idisk.shineidc.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.lx.shineidc.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.lx.shineidc.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.razr.shineidc.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.razr.shineidc.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.shineidc.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.shineidc.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.x.shineidc.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.x.shineidc.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://x.shineidc.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://x.shineidc.com$      [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
目前如上,但是blogbus的图片还是不显示

一路同行

发表于 2009-8-3 18:22:02 | 显示全部楼层

www.blogbus.com添加了吗?
是在http://dreamxis.blogbus.com里访问还是www.blogbus.com

razrcs

发表于 2009-8-3 21:18:55 | 显示全部楼层

在http://dreamxis.blogbus.com里访问
您需要登录后才可以回帖 登录 | 注册

本版积分规则