黄智勇 发表于 2017-1-3 10:58:53

090209 apache 防盗链

<Directory "D:/java/xx/picphoto/">
      Options SymLinksIfOwnerMatch
             RewriteEngine  on
       RewriteCond %{HTTP_REFERER} !^http://localhost.*$
             RewriteRule .*\.(gif|jpg|jpeg|JPG)$   http://www.xx.cn/images/xx.gif
</Directory>
页: [1]
查看完整版本: 090209 apache 防盗链