What version of web2py? This came up a long time ago, but I thought it was
resolved.
On Wednesday, October 2, 2013 7:55:51 AM UTC-4, Andriy wrote:
>
> I`ve successfully connected 2 domains to my apache-web2py configuration
> using routes.py. But I have one problem - all apps are accessible from
> one-another if I add app-name to domain URL.
> For example, I defined:
> domains = {
> 'domain1.com': 'app1',
> 'domain2.com': 'app2'}
>
> www.domain1.com/app2 - opens app2. But it should not. It should go to
> function with name "app2" in app1/controllers/default.py or to 404 error.
> www.domain2.com/app1 - opens app1.
>
> Actually www.domain1.com/app1 also opens itself.
>
> How can I prevent this?
>
>
--
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/groups/opt_out.