标签:denied require env centos centos7 gif www. cas director
<Directory /data/wwwroot/xwl.com>
SetEnvIfNoCase Referer "^$" local_ref
SetEnvIfNoCase Referer "www.xwl.com/.*$" local_ref
SetEnvIfNoCase Referer "xwl.com/.*$" local_ref
<filesmatch "\.(|txt|doc|mp3|mp4|zip|rar|jpg|gif)">
//apache2.4以下
Order Allow,Deny
Allow from env=local_ref
//apache2.4以上
Require all denied
Require env local_ref
</filesmatch>
</Directory>
标签:denied require env centos centos7 gif www. cas director
原文地址:http://www.cnblogs.com/xwlong/p/7751214.html