Redirect HTTP connections to /opac/password to HTTPS
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@16145
dcc99617-32d9-48b4-a31d-
7c20da2025e4
Options +ExecCGI
PerlSendHeader On
allow from all
+
+ # Force clients to use HTTPS
+ RewriteEngine On
+ RewriteCond %{HTTPS} !=on [NC]
+ RewriteCond %{REQUEST_URI} ^/opac/password(/.*)?
+ RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
</Location>
# ----------------------------------------------------------------------------------
]
},
where => {
- has_been_reset => { '=' => 'f' } },
+ has_been_reset => { '=' => 'f' },
request_time => { '>' => $threshold_time }
}
});