#6880: django.http.get_host() breaks reverse proxying on apache -------------------------------------+------------------------------------- Reporter: Kellen | Owner: nobody Type: Bug | Status: new Milestone: | Component: HTTP handling Version: SVN | Severity: Normal Resolution: | Keywords: redirect Triage Stage: Design | httpresponseredirect get_host decision needed | reverse proxy squid apache Needs documentation: 0 | Has patch: 1 Patch needs improvement: 0 | Needs tests: 1 UI/UX: 0 | Easy pickings: 0 -------------------------------------+------------------------------------- Changes (by bastiao):
* ui_ux: => 0 * easy: => 0 Comment: The patch does not works with two apache (rewrite rules) Apache -> Another Apache -> django server It can happen in enterprises with different levels of security. Is there any way to extract the exact address? For people with the same problem I suggest to write a function that import the site url from settings for production environment. -- Ticket URL: <https://code.djangoproject.com/ticket/6880#comment:11> Django <https://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 django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.