[Catalyst] How to manage error 404

Albert Vila avp at imente.com
Tue Jun 28 09:38:24 CEST 2005


Hi all,

    I'm trying to build my first Catalyst Application, and I ran into 
the following problem:
        http://localhost:3000 serves my entry page
        http://localhost:3000/action serves the action I declared in my 
controller

    All is correct, but for each invalid request like 
localhost:3000/xyz, Catalyst uses the default method and serves the 
entry page instead of returning and 404 error page.

    Is there a way I can detect this invalid requests and return an 
error in my main module?

Thanks
       



More information about the Catalyst mailing list