You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by gi...@apache.org on 2022/05/08 21:10:43 UTC
[solr-site] branch asf-staging 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-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 5fce9a78b Automatic Site Publish by Buildbot
5fce9a78b is described below
commit 5fce9a78b45ddfc38b5463f58c03dc247c2795d9
Author: buildbot <us...@infra.apache.org>
AuthorDate: Sun May 8 21:10:40 2022 +0000
Automatic Site Publish by Buildbot
---
output/.htaccess | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/output/.htaccess b/output/.htaccess
index 9634ff491..84e31ab9f 100644
--- a/output/.htaccess
+++ b/output/.htaccess
@@ -59,7 +59,7 @@ RedirectMatch Permanent ^/guide/\d+_\d+$ $0/
# might change again in the future
RedirectMatch temp ^/api/org/(.*) /docs/8_11_1/solr-core/org/$1
RedirectMatch temp ^/api/(.*) /docs/8_11_1/$1
-RedirectMatch temp ^/guide/(?!index.html)([a-z].*) /guide/8_11/$1
+RedirectMatch temp ^/guide/(?!index.html)(?!solr/)([a-z].*) /guide/8_11/$1
# Solr Tutorial is now in the Solr Ref Guide
# should redirect automatically to latest version
@@ -82,10 +82,15 @@ RedirectMatch ^/operator/downloads/crds/(v\d+\.\d+\.\d+)(/?.*)$ https://www.apac
RewriteRule ^(docs|guide)/\d+(?!.+\.\w+$|.+/$).+$ $0/ [R=301,L]
# __root/docs.solr.apache.org/ is a special alias added by INFRA-19439, so we can refer to stuff in other places like SVN
-RewriteRule ^(docs|guide)/\d+.*$ __root/docs.solr.apache.org/$0 [PT]
+RewriteRule ^docs/\d+.*$ __root/docs.solr.apache.org/$0 [PT]
+# Ref-guides up to 8.x
+RewriteRule ^guide/(6|7|8)_\d+.*$ __root/docs.solr.apache.org/$0 [PT]
+# Ref-guides from 9.0
+RewriteRule ^guide/solr/\d+.*$ __root/docs.solr.apache.org/$0 [PT]
# Redirects generated by Antora for the ref-guide
-
+Redirect 302 /guide/solr/latest /guide/solr/9_0
+Redirect 302 /guide/solr/index.html /guide/solr/9_0/index.html
# Redirects to help the transistion from the Solr 6-8 ref-guide to the Solr 9+ ref-guide.