2011-12-13 75 views
2

我試圖通過Facebook's Debugger運行我的網址,看看是否我已經安裝了正確的meta標籤,而且,看到的東西,一般的作品。Facebook的調試返回403禁止

當我把我的網址中,我得到的回報一個403 Forbidden

的URL是一個子域,域本身也返回403 Forbidden

讀另一個帖子Facebook links to my site resolve as 403 forbidden,我認爲我的主機可能已經設置了一個塊或其他東西,但是,我似乎無法從我的電腦重新創建塊。

我一直在試圖欺騙引薦和用戶代理,但沒有運氣。在給我的主人打電話之前,我可能錯過了什麼?

如果是相關的有問題的網址是:http://distorpia.dadiugames.dk/

+0

首先嚐試主持人排除這種可能性。 – FluffyKitten 2011-12-13 18:37:53

+0

我只是想告訴他們什麼時候給他們打電話,所以他們不只是給我一個空的答案。 – 2011-12-13 23:19:08

回答

2

我用它來測試這個問題是curl -i -H 'Accept: */*' -H 'Range: bytes=0-40960' -H 'Connection: close' -A 'facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)' http://whatever.com命令 - 包括一些由Facebook的履帶,有些主機有問題

發送的報頭

看起來像你的主機安裝程序無法處理一個/一些人頭部的正確 - 我複製了403錯誤:

對於您的網址,它返回:

HTTP/1.1 403 Forbidden 
Date: Tue, 13 Dec 2011 20:54:07 GMT 
Server: Apache/2.2.6 mod_auth_kerb/5.3 PHP/5.2.17 mod_fcgid/2.3.6 
Accept-Ranges: bytes 
Connection: close 
Transfer-Encoding: chunked 
Content-Type: text/html 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 
<html> 
<head> 
<title>Parallels H-Sphere</title> 

{{REMOVED THIS PART}} 

    <h2>Error 403: Forbidden</h2> 

<p>You don't have permissions to access this page. 
This usually means one of the following:</p> 
<ul> 
<li>this file and directory permissions make them unavailable from the Internet.</li> 
<li>.htaccess contains instructions that prevent public access to this file or directory.</li> 
</ul> 
<p>Please check file and directory permissions and .htaccess configuration if you are able to do this. 
Otherwise, request your webmaster to grant you access.</p>