You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2020/02/27 11:32:42 UTC

[lucene-site] branch master updated: Simplify rule even more

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 4dbe95b  Simplify rule even more
4dbe95b is described below

commit 4dbe95b89efebfc91b1a63ad449c8181c873520d
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Thu Feb 27 12:32:27 2020 +0100

    Simplify rule even more
---
 themes/lucene/templates/htaccess.template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/themes/lucene/templates/htaccess.template b/themes/lucene/templates/htaccess.template
index 21154eb..2336043 100644
--- a/themes/lucene/templates/htaccess.template
+++ b/themes/lucene/templates/htaccess.template
@@ -133,6 +133,6 @@ RewriteRule ^(core|solr)/\d+_\d+_\d+/(?!.+\.\w+$|.+/$).+$   $0/ [R=301,L]
 RewriteRule ^solr/guide/\d+_\d+/(?!.+\.\w+$|.+/$).+$        $0/ [R=301,L]
 
 # __root/docs.lucene.apache.org/content/ is a special alias added by INFRA-19439, so we can refer to stuff in other places like SVN:
-RewriteRule ^(core|solr)/(\d+_\d+_\d+/.*)$   __root/docs.lucene.apache.org/content/$1/$2 [PT]
-RewriteRule ^(solr/guide)/(\d+_\d+/.*)$      __root/docs.lucene.apache.org/content/$1/$2 [PT]
+RewriteRule ^(core|solr)/\d+_\d+_\d+/  __root/docs.lucene.apache.org/content/$0 [PT]
+RewriteRule ^solr/guide/\d+_\d+/       __root/docs.lucene.apache.org/content/$0 [PT]