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 bb90e0f Automatic Site Publish by Buildbot
bb90e0f is described below
commit bb90e0feba748304cff1a0d7d158f12a08fe6d18
Author: buildbot <[email protected]>
AuthorDate: Mon Feb 7 00:23:33 2022 +0000
Automatic Site Publish by Buildbot
---
output/.htaccess | 4 ++--
output/guide/.htaccess | 37 -------------------------------------
2 files changed, 2 insertions(+), 39 deletions(-)
diff --git a/output/.htaccess b/output/.htaccess
index 2f353f8..c625f39 100644
--- a/output/.htaccess
+++ b/output/.htaccess
@@ -43,8 +43,6 @@ RewriteRule ^mirrors-solr-latest-redir.html downloads.html
[R=301,NE
RewriteRule ^mirrors-solr-3x-redir downloads.html
[R=301,NE,L]
RewriteRule ^mirrors-solr-redir.html downloads.html
[R=301,NE,L]
-# See guide/.htaccess for reference guide specific redirects
-
RedirectMatch Permanent ^/issue_tracking.html
https://issues.apache.org/jira/browse/SOLR
# Top-level javadoc redirect in case redirected from Lucene site /solr/X_Y_Z
-> solr.apache.org/x_Y_Z
@@ -54,12 +52,14 @@ RedirectMatch Permanent ^/(\d+_\d+_\d+/.*)$ /docs/$1
# Simple redirect to "directory", so later rules match
RedirectMatch temp ^/api$ $0/
RedirectMatch Permanent ^/docs/\d+_\d+_\d+$ $0/
+RedirectMatch Permanent ^/guide/\d+_\d+$ $0/
# Other pages can always be redirected to the "most current" released javadocs
# using "temp" instead of permanent so crawlers know that they
# 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
# Solr Tutorial is now in the Solr Ref Guide
# should redirect automatically to latest version
diff --git a/output/guide/.htaccess b/output/guide/.htaccess
deleted file mode 100644
index f54ae47..0000000
--- a/output/guide/.htaccess
+++ /dev/null
@@ -1,37 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-RewriteEngine on
-RewriteBase /guide/
-RewriteOptions Inherit
-
-# Page renames. Relative to 'guide/'
-
-# Solr 8.0
-RewriteRule ^resource-and-plugin-loading.html resource-loading.html
[R=301,NE,L]
-RewriteRule ^time-routed-aliases.html aliases.html [R=301,NE,L]
-
-# Solr 8.8
-RewriteRule ^result-clustering.html 8_7/result-clustering.html [R=301,NE,L]
-
-# Solr 9.0 - Move to Antora and new page layout
-# Rules generated by dev-tools/scripts/refguide/gen-refguide-redirects.py
-RewriteRule ^foo.html solr-glossary.html [R=301,NE,L]
-
-# Simple redirect to "directory", so later rules match
-RedirectMatch Permanent ^/guide/\d+_\d+$ $0/
-
-# Redirect to latest guide version, e.g. /guide/foo.html is redirected to
latest guide /guide/X_Y/foo.html
-RedirectMatch temp ^/guide/(?!index.html)([a-z].*) /guide/8_11/$1
\ No newline at end of file