Hi

I have a setup in Apache where ErrorDocument points at a path that is
actually handled by Mason. If a user gets a 404 then Apache will do an
internal sub-request to this error page which can show some suggestions for
what to do.

But I need the page to determine if the original error code was 404 or 500
(or 401, 403, etc).

For bonus, I'd like to change some 404's to 410 since I'll know that the
page used to exist but has now gone.

Does anyone know how I can do this?

Thanks

Dan
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to