From fae233028eefacb8d8d4473f2fde7e037b86b028 Mon Sep 17 00:00:00 2001 From: Dave Barnes Date: Mon, 17 Dec 2018 17:27:35 -0800 Subject: [PATCH] GEODE-6213 Redirect http://geode.apache.org to https://geode.apache.org, delete separate htaccess file from the docs subdirectory --- website/content/{docs => }/.htaccess | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename website/content/{docs => }/.htaccess (90%) mode change 100644 => 100755 diff --git a/website/content/docs/.htaccess b/website/content/.htaccess old mode 100644 new mode 100755 similarity index 90% rename from website/content/docs/.htaccess rename to website/content/.htaccess index 23497fb94..c2f26754c --- a/website/content/docs/.htaccess +++ b/website/content/.htaccess @@ -14,4 +14,5 @@ # limitations under the License. RewriteEngine On -RewriteRule ^guide/latest/(.*)$ /docs/guide/12/$1 [NC,L,PT] +RewriteCond %{HTTPS} !=on +RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]