I did get a chance to read that this morning.  It was well written and
gave me a better idea for what I would like to implement. It seems
that I should be able to link static files on a per virtualhost
directive which _should_ work for what I want to do.

On Nov 2, 2:34 pm, Thadeus Burgess <thade...@thadeusb.com> wrote:
> For what you are trying to accomplish, sounds like it will be kind of nasty.
>
> You will need to look at the request dictionary, which includes the domain
> name in it. Based on that you will need to render different views for your
> functions. It might be easier to just change what CSS file gets included
> based on domain name.
>
> As far as serving just once instance of web2py, in your VirtualHost
> declartion, declare ServerName, and then ServerAlias for all other domains
> it might be on.
>
> I wrote an article on setting up web2py for slicehost, you might want to
> check out the VirtualHost setups near the end.
>
> http://www.web2pyslices.com/main/slices/take_slice/14
>
> -Thadeus
>
>
>
> On Mon, Nov 2, 2009 at 2:28 PM, David Henry <digitalcry...@gmail.com> wrote:
> > nted 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 custom
--~--~---------~--~----~------------~-------~--~----~
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