Linux VPS和空间.htaccess文件防盗链写法
代码如下:
<IfModule mod_rewrite.c>
RewriteEngine onRewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^$ [NC]
RewriteCond %{HTTP_REFERER} !www.deepvps.com [NC]
RewriteCond %{HTTP_REFERER} !bbs.deepvps.com [NC]
RewriteCond %{HTTP_REFERER} !blog.deepvps.com [NC]
RewriteCond %{HTTP_REFERER} !deepvps.com [NC]
RewriteCond %{HTTP_REFERER} !www.zhuaxia.com [NC]
RewriteCond %{HTTP_REFERER} !www.google.com [NC]
RewriteCond %{HTTP_REFERER} !google.com [NC]
RewriteCond %{HTTP_REFERER} !www.google.cn [NC]
RewriteCond %{HTTP_REFERER} !google.cn [NC]