You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2016/12/29 19:31:47 UTC

[1/3] beam-site git commit: Add .htaccess to automatically forward HTTP to HTTP

Repository: beam-site
Updated Branches:
  refs/heads/asf-site d9ade0584 -> 9a16fb475


Add .htaccess to automatically forward HTTP to HTTP


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

Branch: refs/heads/asf-site
Commit: c6d0390d05e472963665f6c717110266aca01896
Parents: d9ade05
Author: Davor Bonaci <da...@google.com>
Authored: Thu Dec 29 10:11:21 2016 -0800
Committer: Davor Bonaci <da...@google.com>
Committed: Thu Dec 29 11:28:58 2016 -0800

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


http://git-wip-us.apache.org/repos/asf/beam-site/blob/c6d0390d/src/.htaccess
----------------------------------------------------------------------
diff --git a/src/.htaccess b/src/.htaccess
new file mode 100644
index 0000000..06fc74b
--- /dev/null
+++ b/src/.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]


[3/3] beam-site git commit: This closes #118

Posted by da...@apache.org.
This closes #118


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

Branch: refs/heads/asf-site
Commit: 9a16fb475a3c76a9b689e69a9e442b7155e1062c
Parents: d9ade05 f12cc8c
Author: Davor Bonaci <da...@google.com>
Authored: Thu Dec 29 11:31:32 2016 -0800
Committer: Davor Bonaci <da...@google.com>
Committed: Thu Dec 29 11:31:32 2016 -0800

----------------------------------------------------------------------
 content/.htaccess | 15 +++++++++++++++
 src/.htaccess     | 15 +++++++++++++++
 2 files changed, 30 insertions(+)
----------------------------------------------------------------------



[2/3] beam-site git commit: Regenerate website

Posted by da...@apache.org.
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 <da...@google.com>
Authored: Thu Dec 29 11:31:32 2016 -0800
Committer: Davor Bonaci <da...@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]