Hello Django Users,

I have upgraded to django 1.5 and am getting errors because of the 
ALLOWED_HOSTS, 

Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS):


The HTTP_HOST headers are the current IP address of my server depending on what 
has been allocated. Even with "*", I am getting the error occassionally. 


The specifics;

Ubuntu 12.04 LTS

Apache 2.2 with mod_wsgi

An easybox 803a forward requests to the server and updates the dynamic IP 
service. 


I do not know if it is advisable but it would be nice to verify  ALLOWED_HOSTS 
with the current IP address? Is it possible to change this function to 
accomadate  my dynamic IP?


Any suggestions please let me know.


Kind regards

Michael

 

-- 
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/54dde4d2-7286-4158-bc5d-58fa252f0d0d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to