First, you can just put all the router code in /web2py/routes.py -- no need for anything specific in the app folder. Second, you need to specify the functions in the default controller if you want /default/index to be gone when there are any request.args.
How are your URLs being generated? What happens if you just go to http://yourdomain.com? Anthony On Sunday, September 17, 2017 at 9:24:31 AM UTC-4, Joe wrote: > > Yes, I reloaded the app. Nothing happens, it doesn't change the URL. > > I tried several different ways to change the routes.py. > > In the current situation in the *web2py* folder I have this in the* > routes.py* file: > > routers = dict( > BASE = dict(default_application='init'), > ) > > Then, in the *web2py/applications/myappfolder/applications/init/routes.py* > I have the same code: > > routers = dict( > BASE = dict(default_application='init'), > ) > > > Something doesn't seem right about the above path and folder structure. > Maybe this is the problem, but this seems to be the only way to install the > app on Pythonanywhere. But, this doesn't seem right. > > > > On Sunday, September 17, 2017 at 9:05:05 PM UTC+8, Anthony wrote: >> >> Did you reload routes or restart the server? > > -- 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.