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',
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' :
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
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
:) 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
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
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
+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
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
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
10 matches
Mail list logo