Hi Leonel,
Thanks very  much for your reply.
I tried to use the code in your post but it doesn't seem to work.
I installed a new app and I placed the code in the folder, as per your 
post, but the url is still the same: 
http://www.mydomain.com/init/default/about

On Friday, September 25, 2015 at 5:37:32 PM UTC+8, Leonel Câmara wrote:
>
> Usually that was because naming your application init would make it the 
> default application in pythonanywhere and then your problem of having the 
> app name appear in the URL should not happen so that's weird.
>
> Anyway, I think you can go to 
> https://www.pythonanywhere.com/user/[[your_username]]/files/home/[[your_username]]/web2py
>
> Then, just add a file named routes.py with this as content:
>  
> routers = dict(
>     # base router
>     BASE=dict(
>         default_application='init',
>     ),
> )
>
> Finally, reload your webapp in the web tab.
>
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to