查看單個文章
  #6  
舊 2011-03-07, 11:41 PM
Hcrackpot Hcrackpot 目前離線
進階會員
 
註冊日期: 2006-07-22
文章: 613
預設

引用:
作者: mushroom 查看文章
建議列出你的 .htaccess 檔案。
mushroom你好
我防盜連是這樣設
假如我的網站網址是 AAA.com
.htaccess 檔案裡面加上

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://AAA.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://AAA.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.facebook.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.facebook.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://external.ak.fbcdn.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://external.ak.fbcdn.net$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp|zip|rar|doc|pdf|xls|txt)$ - [F,NC]

結果FB還是解析不到我論壇的圖片
是要再加入什麼呢?
感謝
__________________
簽名檔預留
回覆時引用此篇文章