Did you find any solution for this? I have the same problem.

Den söndagen den 7:e juli 2013 kl. 05:33:09 UTC+2 skrev deJa:
>
> Hello, 
> I'm developing an application with 1.6b1 and getting "ERROR: Invalid 
> HTTP_HOST header: www.foo.com.'.You may need to add u'www.foo.com.' to 
> ALLOWED_HOSTS. 
>
> And I'm getting same error with my naked domain or server's IP address 
> like '.You may need to add u'.foo.com.'  or '.You may need to add 
> u'xxx.xxx.xxx.xxx'
>
> The thing is all of these 3 hosts are already in allowed hosts in my 
> settings file as 
> ALLOWED_HOSTS = [u'.foo.com', u'www.foo.com', u'xxx.xxx.xxx.xxx'] 
>
> In the mail body it only says "No stack trace available Request repr() 
> unavailable."
>
> So, is this a bug or do I have an error somewhere or do you need more data 
> to get a conclusion?
>
> Thanks in advance.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/da777f59-7ae1-49b6-9677-b884a2883717%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to