commit | 71a12d48105931c6ec63ed6eacf17105335053e4 | [log] [tgz] |
---|---|---|
author | niclas <niclas@hedhman.org> | Tue Sep 11 08:25:20 2018 +0800 |
committer | niclas <niclas@hedhman.org> | Tue Sep 11 08:25:20 2018 +0800 |
tree | f6616031beb0008d77dc0105127ca80636f2ff96 | |
parent | 49a595963d58b41c8c7f5d3955b6787b459cb071 [diff] |
Put the working redirect in src/ as well
diff --git a/src/htaccess b/src/htaccess index 9bf6601..903c5ac 100644 --- a/src/htaccess +++ b/src/htaccess
@@ -2,7 +2,10 @@ layout: none permalink: .htaccess --- -Redirect / https://polygene.apache.org/ +RewriteEngine On +RewriteCond %{HTTPS} !=on +RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] + Redirect 301 /content/ / Redirect 301 /1.0/ /java/1.0/ Redirect 301 /1.2/ /java/1.2/