Hello,

Could you not try using a default page handler at the top of your
controllers tree and catch all those 404 there then simply raise a
different code?

- Sylvain

>
> Hey
>
> I'm having trouble working with 404 errors. I need to catch 404 errors
> and send a redirect to the homepage with a 301 status code (SEO
> technique) - all other errors I could care less about.
>
> I spent lots of time working with _cpOnError/_cp_on_error and never got
> it to fire, I think it's not applicable any more. I then found
> _cp_on_http_error, I can't pass through other !404 errors using that
> method. Has anyone got any pointers?
>
> Thanks
>
> -Rob
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to