Re: Get domain name

2007-02-02 Thread Don Arbow
On Feb 1, 2007, at 4:05 PM, evenrik wrote: > > I have 2 domain names pointing to the same ip. I need to customize > some of the content depending on which domain is used. How do I know > in a view which one the user connected with? request.META['HTTP_HOST'] should tell you the domain name that

Re: Get domain name

2007-02-02 Thread [EMAIL PROTECTED]
Are you using the sites framework to distinguish the domain names as separate sites? (I don't want to give you a long-winded answer until I understand what you are trying to accomplish) On Feb 1, 7:05 pm, "evenrik" <[EMAIL PROTECTED]> wrote: > I have 2domainnames pointing to the same ip. I need t

Get domain name

2007-02-02 Thread evenrik
I have 2 domain names pointing to the same ip. I need to customize some of the content depending on which domain is used. How do I know in a view which one the user connected with? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G