[web2py] Re: Webfaction account with multiple apps under 1 web2py install

2013-05-01 Thread Kenneth
I am using the routers.domains method to routing the applications to domains, I have a problem that I can access to the applications which are not routed to the assigned domain. for example routers = dict( BASE = dict( domains = { 'domain1.com' : 'app1',

[web2py] Re: Webfaction account with multiple apps under 1 web2py install

2013-05-01 Thread Loïc
Did you restart your webserver / reload routes? I use a similar routes.py for multiple domains and it works fine. Maybe you could try : routers = dict( BASE = dict( domains = { 'www.domain1.com' : 'app1', 'domain1.com' : 'app1', 'www.domain2.com' :

[web2py] Re: Webfaction account with multiple apps under 1 web2py install

2013-05-01 Thread Kenneth
Yeah. I follow the same pattern. Could you try to browse www.domain1.com/app2 to see if it doesn't direct to app2? Mine does. hmm On Wednesday, May 1, 2013 8:48:31 AM UTC-5, Loïc wrote: Did you restart your webserver / reload routes? I use a similar routes.py for multiple domains and it

[web2py] Re: Webfaction account with multiple apps under 1 web2py install

2013-05-01 Thread Loïc
You're right. On my webserver : www.domain1.com redirects to app1 == OK www.domain2.com redirects to app2 == OK *but* www.domain1.com/app2 redirects to app2, and I don't understand why... Le mercredi 1 mai 2013 15:54:08 UTC+2, Kenneth a écrit : Yeah. I follow the same pattern. Could you try

[web2py] Re: Webfaction account with multiple apps under 1 web2py install

2013-05-01 Thread Kenneth
:) Thank you for trying, Loic! Should I just ignore this concern? I am not too concerned about this but I would like to learn about how to solve this problem. On Wednesday, May 1, 2013 8:59:41 AM UTC-5, Loïc wrote: You're right. On my webserver : www.domain1.com redirects to app1 == OK

[web2py] Re: Webfaction account with multiple apps under 1 web2py install

2013-05-01 Thread Loïc
I would like to understand too... Maybe somebody else has an idea ? -- --- 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

[web2py] Re: Webfaction account with multiple apps under 1 web2py install

2013-05-01 Thread Loïc
I would like to understand too... Maybe somebody else has an idea ? -- --- 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

[web2py] Re: Webfaction account with multiple apps under 1 web2py install

2013-05-01 Thread Kenneth
+1 !! On Wednesday, May 1, 2013 11:37:20 AM UTC-5, Loïc wrote: I would like to understand too... Maybe somebody else has an idea ? -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails

[web2py] Re: Webfaction account with multiple apps under 1 web2py install

2013-05-01 Thread Anthony
What if you add exclusive_domain=True to the BASE dict? I believe that prevents creating outgoing URLs like that, but not sure if it affects incoming requests. Anthony On Wednesday, May 1, 2013 12:37:11 PM UTC-4, Loïc wrote: I would like to understand too... Maybe somebody else has an idea

Re: [web2py] Re: Webfaction account with multiple apps under 1 web2py install

2013-05-01 Thread Kenny Chung
Thank you as always, Anthony. Working great. ;) On Wed, May 1, 2013 at 2:29 PM, Anthony abasta...@gmail.com wrote: What if you add exclusive_domain=True to the BASE dict? I believe that prevents creating outgoing URLs like that, but not sure if it affects incoming requests. Anthony On