[Catalyst] 404 and Catalyst

phaylon phaylon at dunkelheit.at
Wed May 17 15:28:30 CEST 2006


Ryan said:

> and I'm assuming this is because of the catch-all that's in place so no
> matter what url a guest goes to they get the homepage(if the controller
> or static page does not exist).  Is there a way around this while
> keeping the catch-all, is there a way I can see if the controller is not
> found in the default end and set the status to 404 instead of 200?

I'd use index : Private for the application's index page and spit a 404 in
default : Private, followed by a detach to the index action.




More information about the Catalyst mailing list