我用它來測試這個問題是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>
來源
2011-12-13 20:58:00
Igy
首先嚐試主持人排除這種可能性。 – FluffyKitten 2011-12-13 18:37:53
我只是想告訴他們什麼時候給他們打電話,所以他們不只是給我一個空的答案。 – 2011-12-13 23:19:08