Thanks for the help!

Now I have a custom 40x error pages :)

Cheers.
Chris.


El jue., 30 abr. 2020 a las 5:13, 'Annet' via web2py-users (<
[email protected]>) escribió:

> I think routes_onerror = [] in routes.py is whar you're
> looking for:
>
> routes_onerror = [
>    ,(r'*/404', r'/handler/default/on_404_error')
>    ,(r'*/*', r'/handler/default/onerror')
> ]
>
> Kind regards,
>
> Annet
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/0c7cfbd8-9a1f-4f07-ae3e-b23c9731a038%40googlegroups.com
> <https://groups.google.com/d/msgid/web2py/0c7cfbd8-9a1f-4f07-ae3e-b23c9731a038%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CA%2Bs%2BuJs0W-7kf6vgWLSgd%2BjycwCmjBQCa9m4kgE4aM4Ai%3D0nhQ%40mail.gmail.com.

Reply via email to