小东博客

记录点东西

Apache服务器使用.htaccess实现图片防盗链


RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$ [NC]
RewriteCond %{HTTP_REFERER} !nobing.cn [NC]
RewriteCond %{HTTP_REFERER} !google.com [NC]
RewriteCond %{HTTP_REFERER} !baidu.com [NC]
RewriteCond %{HTTP_REFERER} !bbs.jiazhuang8.com [NC]
RewriteRule .*\.(gif|jpg)$ http://nobing.cn/no.png [R,NC,L]


身份证号:
引用
610303199107230659
610303199107234975
610303199107238036
610303199107235118
610303199107231897
610303199107236911
610303199107237711
610303199107232013
610303199107235978
610303199107232873
610303199107237797
610303199107230499
610303199107236751
610303199107234334
610303199107234318
610303199107230691
610303199107239477
610303199107238853
61030319910723529X
610303199107236612

码字很辛苦,转载请注明来自.小东博客 .《记录点东西 》