-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ga...@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?

- - Have the code in your your 'standard_error_template' which deals with
  missing items call 'request["RESPONSE"].setStatus(404)'.

- - Don't handle those errors in your 'standard_error_template' at all.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tsea...@palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJxOQa+gerLs4ltQ4RAhiLAJ93lmPPgmyPTpPz177gGkYD8GqhygCggmTr
ul0Nb2j4x7hAhcDO7NTox8Y=
=94Gw
-----END PGP SIGNATURE-----

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to