佟掌柜的博客

网络随笔、各种转载、兴趣就是要记下来

apache防盗链

2022-4-17 admin 服务管理

apache防盗链 配置httpd防盗链可以用SetEnvIfNoCase和rewrite实现反盗链(Anti-Leech) 一、根据refer,注意放行自己的网址 HTTP_REFERER非本网站禁止访问图片 RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://jb51.net/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://sutras.cn$ [NC]...

阅读全文>>

标签: 防盗链

评论(0) 浏览(21)