apache/bodhi.conf | 8 ++++++++ 1 file changed, 8 insertions(+)
New commits: commit e3e295b3b3c69e7b23c024445ddfbafaa09ce7e9 Author: Josh Kayse joshkayse@fedoraproject.org Date: Fri Mar 5 09:30:35 2010 -0500
force https for login page
diff --git a/apache/bodhi.conf b/apache/bodhi.conf index b7b8e74..6293c82 100644 --- a/apache/bodhi.conf +++ b/apache/bodhi.conf @@ -13,3 +13,11 @@ WSGIScriptAlias /updates /usr/share/bodhi/bodhi.wsgi/updates Order deny,allow Allow from all </Location> + +<Location /updates/login> + # required for rewrite rule + Options +SymLinksIfOwnerMatch + RewriteEngine on + RewriteCond %{HTTPS} off + RewriteRule (.*) https://%%7BHTTP_HOST%7D%%7BREQUEST_URI%7D +</Location>