this would require a redirection. In your code you say:
if request.env.path_info == '/': redirect('/myapp')
On Sunday, 7 December 2014 06:22:21 UTC-6, chuan wrote:
>
> I set default_application in routes.py, what I want is when
>
> http://myhost.net/
>
> is visited, the url is automatically expanded to
>
> http://myhost.net/myapp
>
> in the browser address bar. Is it possible?
>
--
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.