You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by ph...@apache.org on 2017/12/01 17:58:48 UTC

[54/57] [abbrv] zookeeper git commit: Add back the .htaccess file used in CMS

Add back the .htaccess file used in CMS


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

Branch: refs/heads/website
Commit: bad41bdb7e218721d123b2f909412de0ba1dc174
Parents: b232d44
Author: Patrick Hunt <ph...@apache.org>
Authored: Wed Nov 29 22:47:38 2017 -0800
Committer: Patrick Hunt <ph...@apache.org>
Committed: Wed Nov 29 22:47:38 2017 -0800

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


http://git-wip-us.apache.org/repos/asf/zookeeper/blob/bad41bdb/.htaccess
----------------------------------------------------------------------
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..cd6152d
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,8 @@
+# .htaccess for ZooKeeper
+#
+# Old site had /docs while new site has /doc
+RedirectMatch Permanent ^/docs/(.+)$ /doc/$1
+# Old site had /mailing_lists.html while new site has /lists.html
+RedirectMatch Permanent ^/mailing_lists.html$ /lists.html
+# redirect bookkeeper site
+RedirectMatch Permanent ^/bookkeeper/(.+)$ http://bookkeeper.apache.org/$1
\ No newline at end of file