apache服务器配置防盗链(centos7)

2021-05-15 16:27

阅读:619

标签:denied   require   env   centos   centos7   gif   www.   cas   director   

  SetEnvIfNoCase Referer "^$" local_ref

  SetEnvIfNoCase Referer "www.xwl.com/.*$" local_ref

  SetEnvIfNoCase Referer "xwl.com/.*$" local_ref

  

    //apache2.4以下    

    Order Allow,Deny 

       Allow from env=local_ref

    //apache2.4以上   

    Require all denied

       Require env local_ref

  

apache服务器配置防盗链(centos7)

标签:denied   require   env   centos   centos7   gif   www.   cas   director   

原文地址:http://www.cnblogs.com/xwlong/p/7751214.html


评论


亲,登录后才可以留言!