beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject [2/3] beam-site git commit: Regenerate website
Date Thu, 29 Dec 2016 19:31:48 GMT
Regenerate website


Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/f12cc8c3
Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/f12cc8c3
Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/f12cc8c3

Branch: refs/heads/asf-site
Commit: f12cc8c3632840d7b4158bd2cd1d0567a65f2742
Parents: c6d0390
Author: Davor Bonaci <davor@google.com>
Authored: Thu Dec 29 11:31:32 2016 -0800
Committer: Davor Bonaci <davor@google.com>
Committed: Thu Dec 29 11:31:32 2016 -0800

----------------------------------------------------------------------
 content/.htaccess | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam-site/blob/f12cc8c3/content/.htaccess
----------------------------------------------------------------------
diff --git a/content/.htaccess b/content/.htaccess
new file mode 100644
index 0000000..06fc74b
--- /dev/null
+++ b/content/.htaccess
@@ -0,0 +1,15 @@
+RewriteEngine On
+
+# This is a 301 (permanent) redirect from HTTP to HTTPS.
+
+# The next rule applies conditionally:
+# * the host is "beam.apache.org",
+# * the host comparison is case insensitive (NC),
+# * HTTPS is not used.
+RewriteCond %{HTTP_HOST} ^beam\.apache\.org [NC]
+RewriteCond %{HTTPS} !on
+
+# Rewrite the URL as follows:
+# * Redirect (R) permanently (301) to https://beam.apache.org/,
+# * Stop processing more rules (L).
+RewriteRule ^(.*)$ https://beam.apache.org/$1 [L,R=301]


Mime
View raw message