WSGIPythonHome /opt/regluit/ENV WSGISocketPrefix /opt/regluit ServerName please.unglueit.com ServerAdmin info@gluejar.com RewriteEngine On RewriteRule ^/$ https://please.unglue.it/ [R=301] RewriteRule /admin(.*) https://please.unglue.it/admin$1 [R=301] RewriteRule /accounts(.*) https://please.unglue.it/accounts$1 [R=301] WSGIDaemonProcess regluit processes=4 threads=4 python-eggs=/tmp/regluit-python-eggs WSGIScriptAlias / /opt/regluit/deploy/please.wsgi Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all Alias /static /var/www/static SSLEngine on SSLProtocol All -SSLv2 -SSLv3 SSLCertificateFile /etc/ssl/certs/server.crt SSLCertificateKeyFile /etc/ssl/private/server.key #SSLCertificateChainFile /etc/ssl/certs/gd_bundle.crt WSGIDaemonProcess regluit-ssl processes=4 threads=4 python-eggs=/tmp/regluit-python-eggs WSGIScriptAlias / /opt/regluit/deploy/please.wsgi Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all Alias /static /var/www/static BrowserMatch "MSIE [2-6]" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 # MSIE 7 and newer should be able to use keepalive BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown #ErrorLog ${APACHE_LOG_DIR}/please.unglue.it-ssl-error.log ErrorLog "|/usr/bin/cronolog /var/log/apache2/%Y%m%d_error.log" LogLevel warn #CustomLog ${APACHE_LOG_DIR}/please.unglue.it-ssl-access.log combined CustomLog "|/usr/bin/cronolog /var/log/apache2/%Y%m%d_access.log" combined