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 <[email protected]> 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 [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 -~----------~----~----~----~------~----~------~--~---

