learn from anthony respond in stackoverflow it is in routes.py in web2py root folder not in app root folder (tested using routes.py in app root folder is not work, no error occured but the result is not expected) *e.g. *(replace web2pyapp with your web2py application name) cd ~/web2py/ cp examples/routes.parametric.example.py ./routes.py echo "routes_onerror = [('web2pyapp/404', '/web2pyapp/static/404.html') ]" >> routes.py
you can choose either : routes.parametric.example.py routes.patterns.example.py to put in web2py root folder tested both work fine *ref:* https://stackoverflow.com/questions/17351528/web2py-custom-404-page-when-i-raise-the-404-myself?noredirect=1 thanks and best regards, stifan -- 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.