服务器 
首页 > 服务器 > 浏览文章

apache  urlrewrite防盗链功能配置

(编辑:jimmy 日期: 2024/9/20 浏览:3 次 )
DocumentRoot /home/img
ServerName img.host.com
ErrorDocument 404 /
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://img.host.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.host.com/.*$ [NC]
RewriteRule \.(gif|jpg|jpeg)$ http://img.host.com/forbidden.png [R,L]
上一篇:IIS 架设FTP服务器图文教程
下一篇:详细架设FTP服务器的两种方法第1/3页
友情链接:杰晶网络 DDR爱好者之家 南强小屋 黑松山资源网 白云城资源网 SiteMap