Apache 防止盗链
时间:2016-05-07 19:29 来源:linux.it.net.cn 作者:IT
###防止盗链######
httpd.conf配置文件加上
SetEnvIfNoCase Referer "www.it.net.cn|it.net.cn|www.itnetcn.com|itnetcn.com" local_ref=1
<FilesMatch ".(gif|jpg|png)">
Order Allow,Deny
Allow from env=local_ref
</FilesMatch>
-
顶
(责任编辑:IT)
###防止盗链###### httpd.conf配置文件加上
(责任编辑:IT) |