由于之前论坛尚未做防盗链,造成大量的外链引用本站图片而未做申明。
现本论坛开启全站防盗链!再此也向其他站长提供开启方法!
Apache 开启防盗链
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^[zxsq-anti-bbcode-url]https://www.bbskali.cn/.[zxsq-anti-bbcode-/url]*$ [zxsq-anti-bbcode-NC]
RewriteCond %{HTTP_REFERER} !^[zxsq-anti-bbcode-url]https://bbskali.cn/.[zxsq-anti-bbcode-/url]*$ [zxsq-anti-bbcode-NC]
RewriteCond %{HTTP_REFERER} !^[zxsq-anti-bbcode-url]https://blog.bbskali.cn/.[zxsq-anti-bbcode-/url]*$ [zxsq-anti-bbcode-NC]
RewriteCond %{HTTP_REFERER} !^[zxsq-anti-bbcode-url]https://wap.bbskali.cn/.[zxsq-anti-bbcode-/url]*$ [zxsq-anti-bbcode-NC]
RewriteRule .(gif|jpg|png|jpeg|bmp)$ [zxsq-anti-bbcode-img]https://api.bbskali.cn/555.png[zxsq-anti-bbcode-/img] [zxsq-anti-bbcode-R,NC]
效果如下
当外站引用本站图片时,会显示警告图片!
|