Re: Redirects on HTTPS

2009-10-27 Thread zweb
for me this worked SetEnvIf X-Forwarded-Proto https HTTPS=1 as specified in this thread http://groups.google.com/group/django-users/browse_thread/thread/cdece5ef2e7fd280 On Oct 26, 6:01 am, "Tim Sawyer" wrote: > I still can't get this to work (original thread > athttp://groups.google.com/

Re: Redirects on HTTPS

2009-10-22 Thread Graham Dumpleton
The easier thing to do and which works for both HTTP and HTTPS is to have have any front end web server such as nginx which is handling the actual request set a special header when request came via HTTPS. In Apache configuration you then use mod_setenvif to set HTTPS variable. As an example, WebF

Re: Redirects on HTTPS

2009-10-22 Thread Tom Evans
On Thu, 2009-10-22 at 12:45 +0100, Tim Sawyer wrote: > Hi, > > I have a django app that works fine using http. We have a requirement to > serve the entire site using https, which is being done at the proxy level > - so the Apache that my django is running inside (mod_wsgi) doesn't know > about t