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/solr-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 5467823e2 Automatic Site Publish by Buildbot
5467823e2 is described below
commit 5467823e2833aefb5b6053eeb9e6e4f756d69832
Author: buildbot <[email protected]>
AuthorDate: Thu Sep 21 18:44:02 2023 +0000
Automatic Site Publish by Buildbot
---
output/.htaccess | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/output/.htaccess b/output/.htaccess
index fd2ceb769..0ecc2a73f 100644
--- a/output/.htaccess
+++ b/output/.htaccess
@@ -46,14 +46,6 @@ RewriteRule ^mirrors-solr-redir.html downloads.html
[R=301,NE
RedirectMatch Permanent ^/issue_tracking.html
https://issues.apache.org/jira/browse/SOLR
# Redirects to help the transistion from the Solr 6-8 ref-guide to the Solr 9+
ref-guide.
-# Do not index old reference guide pages on search engines, except for pages
that don't exist in 9+
-<If "%{REQUEST_URI} =~ m#/?guide/(6|7|8)_.*#">
- Header always set X-Robots-Tag "noindex,nofollow,noarchive"
-</If>
-<If "%{REQUEST_URI} =~
m#/?guide/8_11/(adding-custom-plugins-in-solrcloud-mode|blob-store-api|blockjoin-faceting|cdcr-api|cdcr-architecture|cdcr-config|cdcr-operations|colocating-collections|cross-data-center-replication-cdcr|dataimport-screen|errata|metrics-history|migrate-to-policy-rule|putting-the-pieces-together|rule-based-replica-placement|solrcloud-autoscaling-api|solrcloud-autoscaling-auto-add-replicas|solrcloud-autoscaling-fault-tolerance|solrcloud-autoscaling-listeners|solrcloud
[...]
- Header always unset X-Robots-Tag
-</If>
-
# Existing pages moved to sub path in the 9.0 guide
RedirectMatch 301
^/guide/(about-this-guide|relevance|solr-glossary|solr-tutorial)\.html
/guide/solr/latest/getting-started/$1.html
RedirectMatch 301
^/guide/(aliases|audit-logging|authentication-and-authorization-plugins|basic-authentication-plugin|circuit-breakers|client-apis|cloud-screens|cluster-node-management|collection-management|collections-core-admin|configuring-logging|enabling-ssl|hadoop-authentication-plugin|indexupgrader-tool|installing-solr|jvm-settings|jwt-authentication-plugin|kerberos-authentication-plugin|mbean-request-handler|metrics-reporting|performance-statistics-reference|ping|plugins-stats-scr
[...]
@@ -214,7 +206,12 @@ 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/\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]
+# Do not index old reference guide pages on search engines, except for pages
in 8_11 that don't exist in 9+
+RewriteRule
^guide/8_11/(adding-custom-plugins-in-solrcloud-mode|blob-store-api|blockjoin-faceting|cdcr-api|cdcr-architecture|cdcr-config|cdcr-operations|colocating-collections|cross-data-center-replication-cdcr|dataimport-screen|errata|metrics-history|migrate-to-policy-rule|putting-the-pieces-together|rule-based-replica-placement|solrcloud-autoscaling-api|solrcloud-autoscaling-auto-add-replicas|solrcloud-autoscaling-fault-tolerance|solrcloud-autoscaling-listeners|solrcloud-autoscaling-o
[...]
+RewriteRule ^guide/(6|7|8)_\d+.*$ __root/docs.solr.apache.org/$0
[PT,E=oldref:1]
+Header always set X-Robots-Tag "noindex,nofollow,noarchive" env=oldref
+Header always unset X-Robots-Tag env=oldreflastversion
+
# Ref-guides from 9.0
RewriteRule ^guide/(9_\d+)/?$ guide/solr/$1/ [R=301,L]
RewriteRule ^guide/(_/.+|search-index.js)$ __root/docs.solr.apache.org/$0 [PT]