Maybe you could also consider simply adding a redirect at the top of your first model file: e.g.
redirect(URL('static','404.html')) > On Tuesday, 14 May 2019 22:29:56 UTC+1, Dave S wrote: > > > > On Monday, May 13, 2019 at 8:44:54 PM UTC-7, lucas wrote: >> >> hey one and all, >> >> where, in what model or controller, is the best place to place a few >> lines of code that captures every controller/function call in the entire >> app and returns a single page with a line of text and link to shuttle the >> viewers to another website. and what would be those few lines of code >> also. basically, how to gracefully shutdown an entire app? >> >> thank you in advance, lucas >> > > I would use routes.py, or even put it directly in your front end if it is > a static page. > > (In my production case, nginx) > > > /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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/ab07ef4d-5475-47ee-bd51-84dc2e00056a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.