That would be truly excellent. It would change the way I do a lot of stuff. Right now I am forced to use php for a lot of small little apps that I don't want to surrender an entire web2py install for. =D
On Aug 17, 4:01 pm, Jonathan Lundell <jlund...@pobox.com> wrote: > Sounds like a bug in exclusive_domain. I'll look at it when I get home later. > > On Aug 17, 2011, at 12:57 PM, vapirix <vapi...@gmail.com> wrote: > > > > > > > > > OR can maybe somebody point me in a different direction to achieve the > > same thing without a hilariously complicated config process that I > > won't want to do every time? =) > > > On Aug 16, 5:07 pm, vapirix <vapi...@gmail.com> wrote: > >> So I'm attempting to set up the usage scenario of: > > >> domain1.com -> load app 1 > >> domain2.com -> load app 2 > >> etc. etc. > > >> I need domain1 to NOT have access to app 2, 3, 4, 5, etc. > > >> That all works using the router's "domain" settings. Obviously you run > >> into the problem of: domain1.com loads app1, but domain1.com/app2 > >> loading app2, so I use "exclusive_domain = True", and then I have to > >> do domain1.com/app1/ to load the app without raising an exception, > >> which seems counter productive. Besides that, even with > >> exclusive_domain = True, I can do domain1.com/app2 to load the second > >> app. Is there any way to do what I'm attempting to do here? I'd rather > >> not have to set up separate web2py installs for the tons of tiny apps > >> I do for my clients that get 1 hit every 6 months. > > >> What can I do here, friends?