apache 通过urlrewrite防盗链功能配置
摘要:
配置虚拟主机时,在配置文件中加入如下内容 DocumentRoot /home/img ServerName img.host.com ErrorDocument 404 / RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://img.host.com/.*$ [NC] Rewr... 阅读全文
posted @ 2009-05-26 15:54 eoiioe 阅读(412) 评论(0) 推荐(0) 编辑