这个错误日志甚至意味着什么?

时间:2011-08-01 13:35:58

标签: http http-headers google-adwords

我从谷歌Adwords那里得到了回复,因为HTTP响应代码无效,他们解释说他们无法在我的网站上放广告。这是一个惊喜,因为网站加载完全正常,在我的调试器中,我根本找不到任何返回错误。

他们发送的错误:

http://www.spanishtavern.com/home.html
Start Time: Mon Jul 25 2011 15:51:12 GMT-0400 (Eastern Daylight Time)
t=1311623472198 [st=  0] +REQUEST_ALIVE                           
[dt=157]
t=1311623472198 [st=  0]     URL_REQUEST_START_JOB                  [dt=
1]
                             --> load_flags = 1114240 (ENABLE_LOAD_TIMING
| MAIN_FRAME | VERIFY_EV_CERT)
                             --> method = "GET"                  
                             --> priority = 0                    
                             --> url =
"http://www.spanishtavern.com/home.html"
t=1311623472199 [st=  1]    +URL_REQUEST_START_JOB                
[dt=153]
                             --> load_flags = 1114240 (ENABLE_LOAD_TIMING
| MAIN_FRAME | VERIFY_EV_CERT)
                             --> method = "GET"                  
                             --> priority = 0                    
                             --> url =
"http://www.spanishtavern.com/home.html"
t=1311623472199 [st=  1]        HTTP_CACHE_GET_BACKEND              [dt=
0]
t=1311623472199 [st=  1]        HTTP_CACHE_OPEN_ENTRY               [dt=
0]
                                --> net_error = -2 (FAILED)      
t=1311623472199 [st=  1]        HTTP_CACHE_CREATE_ENTRY             [dt=
0]
t=1311623472199 [st=  1]        HTTP_CACHE_ADD_TO_ENTRY             [dt=
0]
t=1311623472199 [st=  1]       +HTTP_STREAM_REQUEST                 [dt=
52]
t=1311623472251 [st= 53]           HTTP_STREAM_REQUEST_BOUND_TO_JOB 
                                   --> source_dependency =
{"id":80949,"type":11}
t=1311623472251 [st= 53]       -HTTP_STREAM_REQUEST                
t=1311623472251 [st= 53]       +HTTP_TRANSACTION_SEND_REQUEST       [dt=
0]
t=1311623472251 [st= 53]           HTTP_TRANSACTION_SEND_REQUEST_HEADERS 
                                   --> GET /home.html HTTP/1.1   
                                       Host: www.spanishtavern.com
                                       Connection: keep-alive    
                                       User-Agent: Mozilla/5.0 (Windows NT
6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122
Safari/534.30
                                       Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
                                       Accept-Encoding: gzip,deflate,sdch
                                       Accept-Language: en-US,en;q=0.8
                                       Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.3
t=1311623472251 [st= 53]       -HTTP_TRANSACTION_SEND_REQUEST      
t=1311623472251 [st= 53]       +HTTP_TRANSACTION_READ_HEADERS     
[dt=101]
t=1311623472251 [st= 53]           HTTP_STREAM_PARSER_READ_HEADERS
[dt=101]
t=1311623472352 [st=154]           HTTP_TRANSACTION_READ_RESPONSE_HEADERS

                                   --> HTTP/1.1 404 Not Found    
                                       Date: Mon, 25 Jul 2011 19:51:12 GMT
                                       Server: Apache/2.2.3 (Red Hat)
                                       X-Powered-By: PHP/5.1.6   
                                       P3P: CP="NOI NID ADMa OUR IND UNI
COM NAV"
                                       Cache-Control: private,
must-revalidate
                                       Set-Cookie: [value was stripped]
                                       Set-Cookie: [value was stripped]
                                       Content-Length: 5431      
                                       Connection: close         
                                       Content-Type: text/html;
charset=UTF-8
t=1311623472352 [st=154]       -HTTP_TRANSACTION_READ_HEADERS      
t=1311623472352 [st=154]        HTTP_CACHE_WRITE_INFO               [dt=
0]
t=1311623472352 [st=154]        HTTP_CACHE_WRITE_DATA               [dt=
0]
t=1311623472352 [st=154]        HTTP_CACHE_WRITE_INFO               [dt=
0]
t=1311623472352 [st=154]    -URL_REQUEST_START_JOB                 
t=1311623472352 [st=154]     HTTP_TRANSACTION_READ_BODY             [dt=
0]
t=1311623472352 [st=154]     HTTP_CACHE_WRITE_DATA                  [dt=
0]
t=1311623472354 [st=156]     HTTP_TRANSACTION_READ_BODY             [dt=
0]
t=1311623472354 [st=156]     HTTP_CACHE_WRITE_DATA                  [dt=
0]
t=1311623472354 [st=156]     HTTP_TRANSACTION_READ_BODY             [dt=
0]
t=1311623472354 [st=156]     HTTP_CACHE_WRITE_DATA                  [dt=
0]
t=1311623472354 [st=156]     HTTP_TRANSACTION_READ_BODY             [dt=
1]
t=1311623472355 [st=157]     HTTP_CACHE_WRITE_DATA                  [dt=
0]
t=1311623472355 [st=157] -REQUEST_ALIVE

我为愚蠢而道歉,但我不能对这个错误做出正面或反面,更不用说它来自哪里了。有什么想法吗?

2 个答案:

答案 0 :(得分:2)

某处您必须有home.html的链接,该链接不存在。 (这是在你的主要启动页面上)

您的首页实际上位于home.php

如果您访问他们发送的日志中的网址:http://www.spanishtavern.com/home.html,您会看到您实际上在404页面上。 (看看萤火虫,你会看到home.html返回404的请求)

为了增加混乱,您的404页面始终会重定向到主页。使用像home.html这样的网址将您重定向到主页,这很容易被错过,因为它是404。

答案 1 :(得分:0)

他们得到的错误是404响应代码:

--> HTTP/1.1 404 Not Found

home.html无法找到。

我尝试使用netcat做同样的事情,并得到了404响应:

$ nc www.spanishtavern.com 80
GET /home.html HTTP/1.0

HTTP/1.1 404 Not Found
Date: Mon, 01 Aug 2011 13:41:26 GMT
Server: Apache/2.2.3 (Red Hat)
Content-Length: 280
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /home.html was not found on this server.</p>
<hr>
<address>Apache/2.2.3 (Red Hat) Server at default Port 80</address>
</body></html>