#6880: django.http.get_host() breaks reverse proxying on apache
------------------------------------+---------------------------------------
Reporter: Kellen | Owner: nobody
Status: new | Milestone:
Component: HTTP handling | Version: SVN
Resolution: | Keywords: redirect
httpresponseredirect get_host reverse proxy squid apache
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Comment (by Kellen):
Patch adds a USE_X_FORWARDED_HOST setting for people who are in (what seem
to me to be) non-standard virtual hosting configurations where they need
the HTTP_X_FORWARDED_HOST as the hostname. So the default behavior if the
patch is applied will be to ignore the header and use HTTP_HOST instead.
--
Ticket URL: <http://code.djangoproject.com/ticket/6880#comment:7>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---