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 <[email protected]> Authored: Thu Dec 29 11:31:32 2016 -0800 Committer: Davor Bonaci <[email protected]> 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]
