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]
如对本文有疑问,
点击进行留言回复!!
相关文章:
-
-
-
-
常见锁相关
Linux 锁futex: 所有的futex同步操作都应该从用户空间开始,首先创建一个futex同步变量,也就是...
[阅读全文]
-
-
-
-
-
haproxy
[root@zyy180 ~]# tar xf haproxy-2.1.3.tar.gz [root@zyy18...
[阅读全文]
-
-
网友评论