設定調整如下:
1 |
# 防止人家盜連圖片, 擋 gif, jpg,png SetEnvIfNoCase Referer "^http://broso\.twbbs\.org/" local_ref=1 SetEnvIfNoCase Referer "^http://www\.mobile01\.com/" external_ref=1 SetEnvIfNoCase Referer "^http://www\.play01\.com/" external_ref=1 SetEnvIfNoCase Referer "^http://www\.google\.com/" external_ref=1 SetEnvIfNoCase Referer ^$ blank_ref=1 <FilesMatch "\.([Gg][Ii][Ff]|[Jj][Pp][Gg]|[Pp][Nn][Gg] )$"> Order deny,allow Deny from all Allow from env=local_ref Allow from env=external_ref Allow from env=blank_ref ErrorDocument 403 /thief.giff </FilesMatch> |
嘿嘿..再繼續盜連沒關係])