accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [accumulo-website] branch master updated: Add rule to redirect http:// to https://
Date Wed, 19 Dec 2018 16:41:15 GMT
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 <ctubbsii@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]


Mime
View raw message