I saw Section 4.15 starting on page 118 but it doesn't seem clear how  
to do this on a per domain basis.
Would I need symlinks to the virtualhost directory as well?

Is there an example routes.py file I can look at to see how it is done?

Thanks,
David



On Nov 1, 2009, at 6:57 PM, mdipierro wrote:

>
> Yes. You have to use routes to map the different hostnames into
> different web2py applications which served by the same instance.
> Almost everybody here does it.
>
> Massimo
>
> On Nov 1, 6:21 pm, David Henry <[email protected]> wrote:
>> I am new to web2py. I bought the book yesterday and have been reading
>> through it but haven't completed it as of yet.
>>
>> I wanted to know if web2py can be setup to do multisite.  I'd like to
>> write the application once and have the users manage the layouts/
>> templates.
>>
>> I want to do something likewww.example1.comwith their own layouts
>> andwww.example2.comto be able to do their own layouts but use the
>> same instance of web2py to serve it.
>>
>> Can someone point me to a reference on how this would be setup if  
>> it's
>> possible?
>>
>> Thanks,
>> David
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to