<Files ~ "^.(htaccess|htpasswd)$">
deny from all
</Files>
RewriteEngine on
order deny,allow
RewriteCond %{http_referer} !^http://(www.)?xxx.com/.*$ [nc]
RewriteRule .(mp4|php|jpg)$ http://www.xxx.com/ [R,NC,L]
http://www.xxx.com/abc/
http://www.xxx.com/abc/1.php
http://www.xxx.com/abc/1.jpg
欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) | Powered by Discuz! 7.2 |