diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-01-31 23:18:57 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-01-31 23:18:57 +0000 |
commit | 782b74b803ba61b0bf5e0fa160184dffd3ecb769 (patch) | |
tree | 463cde0be1104539cbb3bcde29af66861754ede3 | |
parent | Add basic interceptor for handling NoRows from API service as 404 (diff) | |
download | gentoobrowse-782b74b803ba61b0bf5e0fa160184dffd3ecb769.tar.bz2 gentoobrowse-782b74b803ba61b0bf5e0fa160184dffd3ecb769.tar.xz gentoobrowse-782b74b803ba61b0bf5e0fa160184dffd3ecb769.zip |
HTTPS redirect should be 301
-rw-r--r-- | gentoobrowse/.htaccess | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse/.htaccess b/gentoobrowse/.htaccess index daff6a2..9b5f053 100644 --- a/gentoobrowse/.htaccess +++ b/gentoobrowse/.htaccess @@ -3,7 +3,7 @@ </Files> RewriteEngine on RewriteCond %{HTTPS} off -RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L] +RewriteRule (.*) https://%{SERVER_NAME}/$1 [R=301,L] RewriteCond %{REQUEST_URI} ^/package/(.*) RewriteRule ^(.*) /packages/%1 [R=301,L] |