[web2py] Re: Multiple domains on the same application

2012-10-22 Thread Niphlod
just assign to domain1.com, domain2.com and domain3.com the same ip address (same server) and - if you have a webserver - share the config for all 3 hostnames. Rewrite helps if you need different configs in regard of the domain on the same machine, not the other way around (same config for all

Re: [web2py] Re: Multiple domains on the same application

2012-10-22 Thread Tito Garrido
I will test it! Thanks!!! On Mon, Oct 22, 2012 at 2:59 PM, HittingSmoke wrote: > I'm pretty sure you can do this with routes.py > > routers = dict( > BASE = dict( > domains = { > 'domain1.com' : 'app/contoller1', > 'domain2.com' : 'app/controller2', >

[web2py] Re: Multiple domains on the same application

2012-10-22 Thread HittingSmoke
I'm pretty sure you can do this with routes.py routers = dict( BASE = dict( domains = { 'domain1.com' : 'app/contoller1', 'domain2.com' : 'app/controller2', } ), ) On Monday, October 22, 2012 10:48:19 AM UTC-7, Tito Garrido wrote: > > Hi Folks! >