On Jan 19, 2011, at 3:55 AM, Albert Abril wrote: > Just a suggestion. > > When I an incorrect url, for example: > http://web2py.com/layout (instead of http://web2py.com/layouts) > > ...appears an "invalid controller" error, as it's expected. > > What if it instead is shown a nicer 404? >
Right now it's a 400 error: bad request. It probably *should* be a 404, though the "invalid controller" text is useful (I think) in explaining where the URL went wrong. You can manage this yourself, to some extent anyway, through routes.py.