You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by db...@apache.org on 2018/12/18 01:27:43 UTC

[geode-site] branch master updated: GEODE-6213 Redirect http://geode.apache.org to https://geode.apache.org, delete separate htaccess file from the docs subdirectory

This is an automated email from the ASF dual-hosted git repository.

dbarnes pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/geode-site.git


The following commit(s) were added to refs/heads/master by this push:
     new fae2330  GEODE-6213 Redirect http://geode.apache.org to https://geode.apache.org, delete separate htaccess file from the docs subdirectory
fae2330 is described below

commit fae233028eefacb8d8d4473f2fde7e037b86b028
Author: Dave Barnes <db...@pivotal.io>
AuthorDate: Mon Dec 17 17:27:35 2018 -0800

    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(-)

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 23497fb..c2f2675
--- 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]