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/01/04 11:55:24 UTC

[lucene-site] branch master updated: reorder rewrites, so file system mapping happens at the end (so other rules still match)

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 5cd8a44  reorder rewrites, so file system mapping happens at the end (so other rules still match)
5cd8a44 is described below

commit 5cd8a44d82c2ee0203effb907a39b2ce15639eb8
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Sat Jan 4 12:55:09 2020 +0100

    reorder rewrites, so file system mapping happens at the end (so other rules still match)
---
 content/.htaccess | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/content/.htaccess b/content/.htaccess
index 6a76d8d..e8239dd 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -6,12 +6,6 @@
 RewriteEngine on
 RewriteBase /
 
-### Javadocs & Solr Refguide
-
-RewriteRule ^core/(\d_\d_\d\b.*$) __root/docs.lucene.apache.org/content/core/$1 [PT]
-RewriteRule ^solr/(\d_\d_\d\b.*$) __root/docs.lucene.apache.org/content/solr/$1 [PT]
-RewriteRule ^solr/guide/(\d_\d\b.*$) __root/docs.lucene.apache.org/content/solr/guide/$1 [PT]
-
 ### Pre-CMS site redirects
 
 # DOAP file redirects to source repository
@@ -113,3 +107,9 @@ RedirectMatch Permanent ^/nutch/(.*)$ http://nutch.apache.org/$1
 
 # Lucy has moved, site strcuture has changed, do don't use $1 in redirect...
 RedirectMatch Permanent ^/lucy/(.*)$ http://lucy.apache.org/
+
+### Javadocs & Solr Refguide
+
+RewriteRule ^core/(\d_\d_\d\b.*$) __root/docs.lucene.apache.org/content/core/$1 [PT]
+RewriteRule ^solr/(\d_\d_\d\b.*$) __root/docs.lucene.apache.org/content/solr/$1 [PT]
+RewriteRule ^solr/guide/(\d_\d\b.*$) __root/docs.lucene.apache.org/content/solr/guide/$1 [PT]