Re: Understanding 404 Not Found and Google Sitemaps Tools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You probably have an ErrorDocument which, instead of returning a true
404 error, returns a nice nifty page, with a 200, and then an HTML
document that has 404 in it.

Dig into Apache ErrorDocument settings and possibly and RewriteRule
that involve something like ".*" (any URL at all).  Turning on
RewriteLog to find out exactly how Apache is re-writing URLs is good
for debugging, but can be a problem on a busy site in Production.

Good Luck!

On Sat, December 30, 2006 7:13 pm, Roger wrote:
> Hi,
>
> My starting confusion is using the google sitemaps tool at
> https://www.google.com/webmasters/tools/verify?hl=en.
>
> A complicating factor is that my ISP blocks port 80 and I am using URL
> forwarding to port 90 on my server.
>
> I created a * googlea47802e0bbdc3e50.html*. file per the instructions
> and clicked the verify button.  Google found the file and then
> requested
> a non-existent page.  Per my access.log file this resulted in
>    "GET /noexist_a47802e0bbdc3e50.html HTTP/1.1" 404 310 "-"
> "libwww-perl/5.803"
> or what looks to be a 404 Not Found.
>
> However, Google reports that:
>    We've detected that your 404 (file not found) error page returns a
> status of 200 (Success) in the header.
> <http://www.google.com/support/webmasters/bin/answer.py?answer=35229&hl=en>
>
> The explanation for the above says that while the page may say 404,
> the
> headers say 200, and therefore, the site can not be verified.
>
>
> My own access of the page with Firefox 2 resulted in:
> '''
> Not Found
> The requested URL / googlea47802e0bbdc3e50.html was not found on this
> server.
>
> Apache/2.2.3 (Fedora) Server at xxxxxxx.org Port 90
> '''
>
> The Firefox Web Developer extension reports that the headers returned
> with the error page are:
> '''
> Response Headers -
> http://xxxxxxxxxxxx.org:90/%20googlea47802e0bbdc3e50.html
>
> Date: Sun, 31 Dec 2006 00:48:35 GMT
> Server: Apache/2.2.3 (Fedora)
> Content-Length: 309
> Keep-Alive: timeout=15, max=100
> Connection: Keep-Alive
> Content-Type: text/html; charset=iso-8859-1
>
> 404 Not Found
> '''
>
> The "404 Not Found" reported by Firefox seems suspicious in that it is
> not preceeded by a label and colon.  I have tried a few other web
> based
> tools (htmlhelp.com and seoconsultants.com)  to view header records
> and
> they agree with Google -- my response headers include a 200 OK
> response.
>
> How do I start to figure out what the problem is?
>
> Roger
>
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>


-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux