On Friday, October 20, 2017 at 6:42:17 PM UTC-7, 黄祥 wrote: > > i just interest for modif the 404 error not found, when trying to modif > static/404.html, the result is not expected (no error traceback occur) > e.g. > *static/404.html* > <html><body><h1>this page doesn't exist</h1></body></html> > > *result* > invalid controller (123/index) > > *expected result* > this page doesn't exist > > any idea to achieve it using web2py way? using routes maybe or controllers? > > Routes.py and applications/myapp/routes.py, but I don't have a complete answer yet. (The complete answer is documented in the sample route.py files, but I haven't absorbed all that yet.)
thanks and best regards, > stifan > /dps -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.