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

git-site-role pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/solr-site.git


The following commit(s) were added to refs/heads/asf-staging by this push:
     new b43b7c4  Automatic Site Publish by Buildbot
b43b7c4 is described below

commit b43b7c480b29a50d3ca659006983d035449dea2d
Author: buildbot <[email protected]>
AuthorDate: Tue Aug 17 10:43:33 2021 +0000

    Automatic Site Publish by Buildbot
---
 output/.htaccess | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/output/.htaccess b/output/.htaccess
index daedeab..51e4518 100644
--- a/output/.htaccess
+++ b/output/.htaccess
@@ -76,10 +76,8 @@ RewriteRule ^operator/downloads/?$  operator/downloads.html 
[PT]
 ### Javadocs & Refguide
 
 # Hack: Append slash, if folder name does not end with slash - everything 
containing a "." is treated as file and excluded from redirect:
-RewriteRule ^docs/\d+_\d+_\d+/(?!.+\.\w+$|.+/$).+$          $0/ [R=301,L]
-RewriteRule ^guide/\d+_\d+/(?!.+\.\w+$|.+/$).+$             $0/ [R=301,L]
+RewriteRule ^(docs|guide)/(?!.+\.\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
+# __root/docs.solr.apache.org/ is a special alias added by INFRA-19439, so we 
can refer to stuff in other places like SVN
 # TODO: Move solr specific content to own root location and change these rules
-RewriteRule ^docs/(\d+_\d+_\d+/.*)$  
__root/docs.lucene.apache.org/content/solr/$1 [PT]
-RewriteRule ^guide/\d+_\d+/.*$       
__root/docs.lucene.apache.org/content/solr/$0 [PT]
\ No newline at end of file
+RewriteRule ^(docs|guide)/\d+$  __root/docs.solr.apache.org/$0 [PT]
\ No newline at end of file

Reply via email to