You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by om...@apache.org on 2017/03/07 00:56:26 UTC

orc git commit: Redirect from http to https

Repository: orc
Updated Branches:
  refs/heads/asf-site 641401b34 -> 02fb3e5a7


Redirect from http to https

Signed-off-by: Owen O'Malley <om...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/orc/repo
Commit: http://git-wip-us.apache.org/repos/asf/orc/commit/02fb3e5a
Tree: http://git-wip-us.apache.org/repos/asf/orc/tree/02fb3e5a
Diff: http://git-wip-us.apache.org/repos/asf/orc/diff/02fb3e5a

Branch: refs/heads/asf-site
Commit: 02fb3e5a7105a4e48e6522c08f2e227bfdfae373
Parents: 641401b
Author: Owen O'Malley <om...@apache.org>
Authored: Mon Mar 6 16:55:51 2017 -0800
Committer: Owen O'Malley <om...@apache.org>
Committed: Mon Mar 6 16:56:13 2017 -0800

----------------------------------------------------------------------
 .htaccess | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/orc/blob/02fb3e5a/.htaccess
----------------------------------------------------------------------
diff --git a/.htaccess b/.htaccess
index b5f98bc..0013d6e 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,3 +1,6 @@
 # .htaccess for ORC
 RedirectMatch Permanent ^/jira$ https://issues.apache.org/jira/browse/orc
 RedirectMatch Permanent ^/github$ https://github.com/apache/orc
+RewriteEngine On
+RewriteCond %{HTTPS} off
+RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]