You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ja...@apache.org on 2021/02/21 21:56:49 UTC

[lucene-site] 06/07: .htaccess rules to redirect /solr/* to new TLP site

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

janhoy pushed a commit to branch main/lucene
in repository https://gitbox.apache.org/repos/asf/lucene-site.git

commit 7483430aa89ba094faec3610ad33a57b3481eae5
Author: Jan Høydahl <ja...@cominvent.com>
AuthorDate: Sun Feb 21 22:40:37 2021 +0100

    .htaccess rules to redirect /solr/* to new TLP site
---
 themes/lucene/templates/htaccess.template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/themes/lucene/templates/htaccess.template b/themes/lucene/templates/htaccess.template
index 20d282c..c4975b1 100644
--- a/themes/lucene/templates/htaccess.template
+++ b/themes/lucene/templates/htaccess.template
@@ -27,6 +27,7 @@ RewriteBase /
 
 # DOAP file redirects to source repository
 RedirectMatch Permanent ^/core/doap.rdf https://gitbox.apache.org/repos/asf?p=lucene-solr.git;a=blob_plain;f=dev-tools/doap/lucene.rdf;hb=HEAD
+# TODO: Point the Solr DOAP to the new solr.git repo
 RedirectMatch Permanent ^/solr/doap.rdf https://gitbox.apache.org/repos/asf?p=lucene-solr.git;a=blob_plain;f=dev-tools/doap/solr.rdf;hb=HEAD
 
 # page renames
@@ -125,6 +126,9 @@ RedirectMatch Permanent ^/nutch/(.*)$ https://nutch.apache.org/$1
 # Lucy has moved, site strcuture has changed, do don't use $1 in redirect...
 RedirectMatch Permanent ^/lucy/(.*)$ https://lucy.apache.org/
 
+# promote Solr to TLP
+RedirectMatch Permanent ^/solr/(.*)$ https://solr.apache.org/$1
+
 
 ### Javadocs & Solr Refguide