From 2de658ea6da748d281ee6e38a20837d5513d3d6a Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 22 Jan 2017 15:50:42 +0000 Subject: Redirect to HTTPS --- gentoobrowse/.htaccess | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gentoobrowse/.htaccess b/gentoobrowse/.htaccess index ecad5b5..5d8d9ad 100644 --- a/gentoobrowse/.htaccess +++ b/gentoobrowse/.htaccess @@ -2,6 +2,9 @@ sethandler fcgid-script RewriteEngine on +RewriteCond %{HTTPS} off +RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L] + RewriteCond %{REQUEST_URI} ^/package/(.*) RewriteRule ^(.*) /packages/%1 [R=301,L] -- cgit v1.2.3