From 2135986f8db345fec255baab06d95a8db52fc696 Mon Sep 17 00:00:00 2001 From: "Chris M. Hostetter" Date: Fri, 19 Jan 2007 08:04:31 +0000 Subject: [PATCH] permanent redirect for legacy docs/api links that may be out in mailing lists (prior to graduation, we had a symlink, but that broke when we moved the site, and this is a better long term fix) git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@497731 13f79535-47bb-0310-9956-ffa450edef68 --- site/.htaccess | 1 + src/site/src/documentation/content/.htaccess | 1 + 2 files changed, 2 insertions(+) diff --git a/site/.htaccess b/site/.htaccess index f1650fa44a6..aae0cb552c0 100755 --- a/site/.htaccess +++ b/site/.htaccess @@ -1,3 +1,4 @@ #Forrest generates UTF-8 by default, but these httpd servers are #ignoring the meta http-equiv charset tags AddDefaultCharset off +RedirectMatch Permanent ^/solr/docs(.*) http://lucene.apache.org/solr$1 diff --git a/src/site/src/documentation/content/.htaccess b/src/site/src/documentation/content/.htaccess index f1650fa44a6..aae0cb552c0 100644 --- a/src/site/src/documentation/content/.htaccess +++ b/src/site/src/documentation/content/.htaccess @@ -1,3 +1,4 @@ #Forrest generates UTF-8 by default, but these httpd servers are #ignoring the meta http-equiv charset tags AddDefaultCharset off +RedirectMatch Permanent ^/solr/docs(.*) http://lucene.apache.org/solr$1