You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ab...@apache.org on 2017/05/09 04:34:21 UTC

[2/2] geode-site git commit: GEODE-2554 Add redirect for latest version of docs

GEODE-2554 Add redirect for latest version of docs


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

Branch: refs/heads/asf-site
Commit: f054f057ce39ca2b293a3b0cdf794fc8641b7c08
Parents: ed87e57
Author: Anthony Baker <ab...@apache.org>
Authored: Mon May 8 21:34:13 2017 -0700
Committer: Anthony Baker <ab...@apache.org>
Committed: Mon May 8 21:34:13 2017 -0700

----------------------------------------------------------------------
 docs/.htaccess | 19 +++++++++++++++++++
 index.html     |  1 -
 2 files changed, 19 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode-site/blob/f054f057/docs/.htaccess
----------------------------------------------------------------------
diff --git a/docs/.htaccess b/docs/.htaccess
new file mode 100644
index 0000000..b59ce27
--- /dev/null
+++ b/docs/.htaccess
@@ -0,0 +1,19 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+RewriteEngine On
+RewriteRule ^/guide/latest/(.*)$ /guide/11/$1 [R=303,NC,L]

http://git-wip-us.apache.org/repos/asf/geode-site/blob/f054f057/index.html
----------------------------------------------------------------------
diff --git a/index.html b/index.html
index 66fe4b3..5033a4e 100644
--- a/index.html
+++ b/index.html
@@ -18,7 +18,6 @@
   KIND, either express or implied.  See the License for the
   specific language governing permissions and limitations
   under the License. -->
-
     <meta charset="utf-8">
     <title>Apache Geode — Performance is key. Consistency is a must.</title>
     <meta http-equiv="x-ua-compatible" content="ie=edge" />