You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2018/12/19 16:41:15 UTC
[accumulo-website] branch master updated: Add rule to redirect
http:// to https://
This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git
The following commit(s) were added to refs/heads/master by this push:
new e70de28 Add rule to redirect http:// to https://
e70de28 is described below
commit e70de28d93a337f44ac2cec19f432c7da2858d30
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Wed Dec 19 11:39:21 2018 -0500
Add rule to redirect http:// to https://
Enforce use of secure https://accumulo.apache.org
---
.htaccess | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..0f1face
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,3 @@
+RewriteEngine On
+RewriteCond %{HTTPS} !=on
+RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]