Different settings for secure & non-secure versions of Django site using WSGI
- by Jordan Reiter
I have a Django website where some of the URLs need to be served over HTTPS and some over a normal connection.
It's running on Apache and using WSGI. Here's the config:
<VirtualHost example.org:80>
ServerName example.org
DocumentRoot /var/www/html/mysite
WSGIDaemonProcess mysite
WSGIProcessGroup mysite
WSGIScriptAlias…