Layouts should depend on the domain.

But I don't want to have 50+ installations per server that need to be
update manually when I make changes to the code or bring enhancements.

They don't need appadmin. I am writing a control panel for them to
manage users.

Would it not be possible to share a single web2py installation for
multiple vhosts so I only need to update one directory on each server?


On Nov 23, 10:15 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
> You should consider different approached depending on whether the
> layout depends on the domain or the user. If it depends on the domain
> and it is fixed for domain, I suggest different web2py apps with
> different set of views that talk to the same db. Usevirtualhosts to
> map domain into app. If the are per user, I would make the CSS dynamic
> and retrieve it from the a database based on user preferences.
>
> On Nov 2, 2:28 pm, David Henry <digitalcry...@gmail.com> wrote:
>
>
>
> > Hi Thadeus,
>
> > Did you happen to have the information on how to set this up?
>
> > I wanted one web2py with multiple applications that serve unique views/
> > html/css to users based on the domain used to access the site so users  
> > can customize the look and feel to their tastes.
>
> > Thanks,
> > David
>
> > On Nov 1, 2009, at 7:41 PM, Thadeus Burgess wrote:
>
> > > I use virtualhosts on a per domain basis. You are wanting the same  
> > > app, with the same data, but different layouts depending on domain,  
> > > or do you want two completely separate apps per domain?
>
> > > -Thadeus
>
> > > On Sun, Nov 1, 2009 at 7:12 PM, David Henry  
> > > <digitalcry...@gmail.com> wrote:
> > > uld I need symlinks to the virtualhost directory as we
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to