Skip to content

Apache Lucene open-source search software

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)

Chris M. Hostetter2135986f8db3
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