I suggest you read the cherrypy docs on the request object. There you  
can access the headers which will tell you which domain the UA  
(browser) requested.

That's probably not the whole answer but should get you started.

--i

On Feb 2, 2007, at 1:21 PM, Matt Wilson wrote:

>
> I own several domain names that point to the same IP.  I want to make
> the template layer of my site depend on the domain name.
>
> For example, users visiting red.com get the red templates, while
> visitors to blue.com get the blue templates.
>
> In most instances, I want to be able to design parent templates and
> inside my red-frontpage.kid and my blue-frontpage.kid, pull down from
> those.
>
> How do I do this?
>
> TIA
>
> Matt
>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to