[Zope] 404 error

Andrew Milton akm at theinternet.com.au
Sat Mar 21 09:16:16 EDT 2009


+-------[ garry at schoolteachers.co.uk ]----------------------
| Quoting Andreas Jung <lists at zopyx.com>:
| 
| > -----BEGIN PGP SIGNED MESSAGE-----
| > Hash: SHA1
| >
| > On 21.03.2009 13:21 Uhr, garry at schoolteachers.co.uk wrote:
| >> I am trying to verify my site with google but keep getting this error:
| >>
| >> We've detected that your 404 (file not found) error page returns a 
| >> status of 200
| >> (Success) in the header.
| >>
| >> How could I correct this?
| >>
| >
| > How to reproduce? URL? Zope does not send a 200 response:
| >
| > ajung at suxmac2:/tmp wget -S http://www.zope.de/does-not-exist
| > - --2009-03-21 13:54:31--  http://www.zope.de/does-not-exist
| > Resolving www.zope.de... 213.187.85.150
| > Connecting to www.zope.de|213.187.85.150|:80... connected.
| > HTTP request sent, awaiting response...
| >  HTTP/1.1 404 Not Found
| >  Date: Sat, 21 Mar 2009 12:54:31 GMT
| >  Server: Zope/(Zope 2.8.6-final, python 2.3.5, linux2) ZServer/1.1
| > Plone/Unknown
| >  Bobo-Exception-Line: 644
| >  Content-Length: 18937
| >  Bobo-Exception-Value: See the server error log for details
| >  Content-Language: de
| >  Bobo-Exception-File: HTTPResponse.py
| >  Bobo-Exception-Type: NotFound
| >  Expires: Sat, 01 Jan 2000 00:00:00 GMT
| >  Content-Type: text/html;charset=utf-8
| >  Connection: close
| > 2009-03-21 13:54:31 ERROR 404: Not Found.
| >
| This is the URL I have submitted to Google:
| 
| http://www.reidcarleasing.co.uk/googleb6e4b8f92f9cedbf.html


Your webserver is configured poorly...

Response Headers
Connection	Close
X-R4L-VHOST	reidcarleasing.co.uk
Content-Type	text/html
Content-Length	488
Date	Sat, 21 Mar 2009 13:12:06 GMT
Server	lighttpd

Which redirects using <META> to your zope (84.45.131.100:8080)
directly.. which THEN gives;

Response Headers
Server	Zope/(Zope 2.9.0-, python 2.4.5, linux2) ZServer/1.1
Date	Sat, 21 Mar 2009 13:12:06 GMT
Bobo-Exception-Line	656
Content-Length	1039
Bobo-Exception-Value	See the server error log for details
Content-Type	text/html; charset=iso-8859-15
Bobo-Exception-Type	NotFound
Bobo-Exception-File	HTTPResponse.py

Which also shows;

(Also, the following error occurred while attempting to render the
standard error message, please see the event log for full details: Not
Found)

-- 
Andrew Milton
akm at theinternet.com.au


More information about the Zope mailing list