Re: ALLOWED_HOSTS and dynamic dyn site
Hi michael,
I've also noticed a couple of issues with it. Thanks to raven and sentry I noticed those requests were missing the hostname in their headers and decided I didn't care more.
You might want to use them and see if it's the same for you.
Best regards,
Xavier,
Linovia.
Le 10 oct. 2013 à 18:50, R. Michael Herberger <mchlherberger9@googlemail.com> a écrit :
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+unsubscribe@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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home