I've just figured it out. I wasn't thinking right.
I realised that, instead of having each site accesing its panel through
those kind of urls (site1.dev/panel, site2.dev/panel, etc), I could use
subdomains like panel.site1.dev, panel.site2.dev, etc, and then the thing
is as easy as editing route
Thanks for your time Massimo.
I didn't know about multi-tenancy in web2py, I've just read a little about
that. However I think it's not what I need in this case (but I've just read
about multi-tenancy).
Let me give some additional details of my case regarding databases (I
realised that I didn't me
Did you look into multi tenancy in web2py?
You can use routes to map the domain into applications but do not use it to
map domains. Use multi tenancy to have different domains map into different
slices of the database with their own permissions.
On Wednesday, 15 April 2015 08:00:35 UTC-5, Lisan
3 matches
Mail list logo