diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-01-22 15:50:42 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-01-22 15:50:42 +0000 |
commit | 2de658ea6da748d281ee6e38a20837d5513d3d6a (patch) | |
tree | a0b28db0738c734d55f9a607b5d3fe12e52ae8cb | |
parent | Set tidy quiet flag (diff) | |
download | gentoobrowse-2de658ea6da748d281ee6e38a20837d5513d3d6a.tar.bz2 gentoobrowse-2de658ea6da748d281ee6e38a20837d5513d3d6a.tar.xz gentoobrowse-2de658ea6da748d281ee6e38a20837d5513d3d6a.zip |
Redirect to HTTPS
-rw-r--r-- | gentoobrowse/.htaccess | 3 |
1 files changed, 3 insertions, 0 deletions
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 </Files> RewriteEngine on +RewriteCond %{HTTPS} off +RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L] + RewriteCond %{REQUEST_URI} ^/package/(.*) RewriteRule ^(.*) /packages/%1 [R=301,L] |