You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by gi...@apache.org on 2021/08/17 12:17:20 UTC
[lucene-site] branch asf-site updated: Automatic Site Publish by
Buildbot
This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/lucene-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 47dfc6f Automatic Site Publish by Buildbot
47dfc6f is described below
commit 47dfc6f6ee9ecda1cbaa150a85d66d932aa86266
Author: buildbot <us...@infra.apache.org>
AuthorDate: Tue Aug 17 12:17:18 2021 +0000
Automatic Site Publish by Buildbot
---
output/.htaccess | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/output/.htaccess b/output/.htaccess
index 9258581..bf3b4b2 100644
--- a/output/.htaccess
+++ b/output/.htaccess
@@ -97,8 +97,10 @@ Redirect permanent /solr https://solr.apache.org
### Javadocs
+# TODO: Move the javadocs to a subfolder core/docs/ instead of directly below core/
+
# Hack: Append slash, if folder name does not end with slash - everything containing a "." is treated as file and excluded from redirect:
-RewriteRule ^core/\d+_\d+_\d+/(?!.+\.\w+$|.+/$).+$ $0/ [R=301,L]
+RewriteRule ^core/\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/\d+_\d+_\d+/.*$ __root/docs.lucene.apache.org/content/$0 [PT]
+# __root/docs.lucene.apache.org/ is a special alias added by INFRA-19439, so we can refer to stuff in other places like SVN:
+RewriteRule ^core/\d+.*$ __root/docs.lucene.apache.org/$0 [PT]