You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by db...@apache.org on 2019/04/24 23:55:09 UTC

[geode-site] branch master updated: Remove NC API redirects from .htaccess - they caused a "too many redirects" error

This is an automated email from the ASF dual-hosted git repository.

dbarnes pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/geode-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 97ddf84  Remove NC API redirects from .htaccess - they caused a "too many redirects" error
97ddf84 is described below

commit 97ddf84dde7c61fa4c75cebfbbc6cd27011152cd
Author: Dave Barnes <db...@pivotal.io>
AuthorDate: Wed Apr 24 16:55:02 2019 -0700

    Remove NC API redirects from .htaccess - they caused a "too many redirects" error
---
 website/content/.htaccess | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/website/content/.htaccess b/website/content/.htaccess
index 6dffb99..9a0d6ff 100755
--- a/website/content/.htaccess
+++ b/website/content/.htaccess
@@ -18,5 +18,6 @@ RewriteCond %{HTTPS} !=on
 RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
 RedirectMatch 301 /serverman/(.*) https://geode.apache.org/docs/guide/19/$1
 RedirectMatch 301 /geodeman/(.*) https://geode.apache.org/docs/guide/19/$1
-RedirectMatch 301 /dotnetdocs/(.*) https://geode.apache.org/releases/latest/dotnetdocs/$1
-RedirectMatch 301 /cppdocs/(.*) https://geode.apache.org/releases/latest/cppdocs/$1
+# Following lines ma cause a "too many redirects" error
+# RedirectMatch 301 /dotnetdocs/(.*) https://geode.apache.org/releases/latest/dotnetdocs/$1
+# RedirectMatch 301 /cppdocs/(.*) https://geode.apache.org/releases/latest/cppdocs/$1