数据正在传送.请稍候

 


原帖内容
domin

2007-12-17 10:00 AM
apache2防盗链写法



RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !meyu.net [NC]
RewriteRule .(gif|GIF|jpg|JPG)$ /logo.jpeg [R,NC]
把meyu.net改成你的网站地址如果有多个域名的话在
RewriteRule .(gif|GIF|jpg|JPG)$ /logo.jpeg [R,NC]
上再加一行
RewriteCond %{HTTP_REFERER} !域名 [NC]

rewriterule也可以用
RewriteRule .*\.(jpe?g|gif|bmp|png)$ - [F]

用户名时间积分理由
An_Apple 2007-12-17 10:36 AM 威望 +1 www.erika.com.cn
www60 2008-10-13 01:46 AM 威望 +1 cnzhanzhang.com
ldsystem 2008-11-5 02:28 PM 威望 +1 恶意灌水
ldsystem 2008-11-5 02:28 PM 威望 +1 很好,很强大!

Powered by Discuz!3.12 Licensed © 2001-2005
Processed in 0.003991 second(s), 7 queries , Gzip enabled
所有时间为 GMT+8, 现在时间是 2024-11-23 09:57 PM
清除 Cookies - 联系我们 - 梦游时光互联 -