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:07:17 UTC
[geode-site] branch asf-site updated: GEODE-6213 Redirect
http://geode.apache.org to https://geode.apache.org
This is an automated email from the ASF dual-hosted git repository.
dbarnes pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/geode-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new a6185af GEODE-6213 Redirect http://geode.apache.org to https://geode.apache.org
a6185af is described below
commit a6185af8fd8a428478b54025c61b5efdebecd9bb
Author: Dave Barnes <db...@pivotal.io>
AuthorDate: Mon Dec 17 17:07:07 2018 -0800
GEODE-6213 Redirect http://geode.apache.org to https://geode.apache.org
---
.htaccess | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.htaccess b/.htaccess
new file mode 100755
index 0000000..0152e4c
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,3 @@
+# Redirect http://geode.apache.org https://geode.apache.org
+RewriteCond %{HTTPS} !=on
+RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
\ No newline at end of file