Home
The Toolkit for Online Communities
16714 Community Members, 0 members online, 2292 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : ADP or TCL for 404 error page : One Message

Forum OpenACS Development: Re: ADP or TCL for 404 error page

Collapse
Posted by Eduardo Pérez on
We would also like to return 404 when the file is not found, because it seems Google needs it for things like Google Sitemaps.

What would be the correct way to return a 404 error code by default when requesting a non existent page?

For example, if you request something like:
http://openacs.org/sadfasdfasfd
You'll get a strange page with comments from nowhere and a 200 OK error code.

Collapse
Posted by Brian Fenton on
You still get "a strange page with comments from nowhere and a 200 OK error code" when you go to http://openacs.org/sadfasdfasfd

Thanks for the tip Dave - I've always had problems getting those AOLserver error pages working (in fact I never have and they've never been enough of a priority - shame on me :-) - hopefully will get it now).

Brian