Did you restart the web server or otherwise reload the routes after making the change?
Also, note that specifying default_application only has an effect when accessing the root URL (i.e., http://yourdomain.com/). If the app, controller, and function are missing, it assumes the default for each. If you specify the app and controller, it assumes the default function. If you specify the app only, it assumes the default controller and function. However, if you attempt to specify a controller and function with no app, it will not assume the default app. Rather than use default_application, you should instead use the parameter-based rewrite system and specify something like: routers = dict( BASE=dict( default_application='myapp', ), ) The above will remove "myapp" from *all* URLs, not just the root URL. Anthony On Sunday, May 15, 2016 at 11:48:35 AM UTC-4, Bernardo Leon wrote: > > Good morning, I just clone the github repository and then create a > routes.py file in the web2py folder. This file only have one line: > > default_application = 'myapplication' > > but it does not, when I try to load my site it defaults to the welcome > application, the only way it works is changing its name to 'init' but in > the browser I dont want my tab called 'init' but 'myapplication' > > Can you help me with this? > > I am behind a nginx server if it helps. > > Thank you for any answer! > -- 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.