Apache 2 -> Turbogears 2.0 wsgi -> SSL
I have a web application I am going to be deploying soon. I am pretty new when it comes to apache and I am getting twisted around the axel on the configuration. I have it so that I am able to access my application both in ssl and normal (http, https). The problem is I want to force ssl for some pages and force non ssl on other portions of the site.
I figured the best way to do this would be through rewrite. I can get it to work in one direction. For intstance i can get the redirects to https to work but once on https the redirect back doesn't.
Apache 2 Config File ...
# redirect non-secure pages (/user, /register or /action) to https if requested by HTTP
CustomLog /var/log/apache2/access.log combined
SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
Alias /images /webapp/images
Alias /css /webapp/css
WSGIScriptAlias / /webapp/apache/config.wsgi
WSGIDaemonProcess webapp threads=10 processes=3
Allow from all
|All times are GMT -5. The time now is 05:34 AM.|