On 26 Feb 2013, at 6:32 PM, greaneym <[email protected]> wrote: > If the parametric routes format is used to route domains, do the domains have > to be on the same physical host? The cookbook refers to an example where the > domains are on the same physical host on p. 273. > > > Does an example like this work if the domains are on two physically separate > hosts? > > routers = dict( > BASE=dict( > default_application='app1', > domains={ > 'domain1.com' : 'app1', > 'domain2.com' : 'app2', > } > ), > ) > > If this is not the right way to do it on two different hosts, may I see an > example please? >
If a domain is not on a particular host, then on that host you'll never get a request directed to that domain, right? Why would you bother to route it? -- --- 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.

