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/26 10:15:28 UTC

[lucene-site] branch master updated: Revert the tries

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 0c11487  Revert the tries
0c11487 is described below

commit 0c11487d21eca3f69c28f4e1bd20e63aee556ac2
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Wed Feb 26 11:15:17 2020 +0100

    Revert the tries
---
 themes/lucene/templates/htaccess.template | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/themes/lucene/templates/htaccess.template b/themes/lucene/templates/htaccess.template
index 3e36f50..6b7439c 100644
--- a/themes/lucene/templates/htaccess.template
+++ b/themes/lucene/templates/htaccess.template
@@ -15,7 +15,6 @@
 
 RewriteEngine on
 RewriteBase /
-RewriteOptions Inherit
 
 <If "%{HTTPS} == 'on'">
   Header always set Strict-Transport-Security "max-age=300"
@@ -133,6 +132,3 @@ RedirectMatch Permanent ^/lucy/(.*)$ https://lucy.apache.org/
 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/solr/guide/$1 [PT]
 
-# This fixes redirects generated by directory-without-slash to not have the __root in it:
-Header always edit Location /__root/docs.lucene.apache.org/content/(.*)$ /$1
-Header onsuccess edit Location /__root/docs.lucene.apache.org/content/(.*)$ /$1