Welcome Guest, Not a member yet? Register   Sign In
Controllers to handle errors
#3

[eluser]Unknown[/eluser]
Hi. Sorry to bump this.

I've built a controller to act as a 404 page. I currently have modified the exception library to send a redirection header to the controller, but there *must* be a better way to do this. For example, currently it goes like this: the page that the user requested returns 302 found instead of 404 (the actual 404 controller returns a 404 header, though).

I've went through pretty much every topic concerning this and I haven't found a good way to do it. How much would it take to modify the exception library to call a controller instead?


Messages In This Thread
Controllers to handle errors - by El Forum - 05-27-2008, 11:48 AM
Controllers to handle errors - by El Forum - 05-28-2008, 09:12 AM
Controllers to handle errors - by El Forum - 07-16-2008, 12:32 PM



Theme © iAndrew 2016 - Forum software by © MyBB