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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to