How I can handle my 404 custom page (and possibly other errors)?
I just tried in routing part to add
GET /@codes /WebController->error
Where my Class WebController handles error, and for 404 i solved (partially). In effect it works for
http://mydomain.ext/itdoesntexists
but if i recall a
http://mydomain.ext/sub/maybe_another_sub/and_so_on/doesnt_exist
My route (of course) doesn't work.
Btw, with that route in every case it doesn't push 404 header (just a maniac-vision of things, i'm thinking to Google looking for a resources and it doesn't receive a "pure" 404).
Thank you