SetEnvIfNoCase Referer "^http://.*\.qq\.com" local_ref
SetEnvIfNoCase Referer ".*\.qqa\.com" local_ref
SetEnvIfNoCase Referer "^$" local_ref
<filesmatch "\.(txt|doc|mp3|zip|rar|jpg|gif)">
Order Allow,Deny
Allow from env=local_ref
</filesmatch>
本文转自 linuxpp 51CTO博客,原文链接:http://blog.51cto.com/1439337369/1706681,如需转载请自行联系原作者