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

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


The following commit(s) were added to refs/heads/main by this push:
     new 319a3e5  Fix htaccess rules for solr operator CRDs.
319a3e5 is described below

commit 319a3e58d21820f365a3170706f47d23688bac1b
Author: Houston Putman <[email protected]>
AuthorDate: Fri Apr 30 14:46:12 2021 -0500

    Fix htaccess rules for solr operator CRDs.
---
 themes/solr/templates/htaccess.template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/themes/solr/templates/htaccess.template 
b/themes/solr/templates/htaccess.template
index 6c951c9..b547631 100644
--- a/themes/solr/templates/htaccess.template
+++ b/themes/solr/templates/htaccess.template
@@ -69,6 +69,10 @@ RedirectMatch Permanent ^/quickstart.html 
/guide/solr-tutorial.html
 RedirectMatch Permanent ^/docs/4_0_0-(ALPHA|BETA)(.*) /docs/4_0_0$2
 RedirectMatch Permanent ^/docs/api-(.*) /docs/$1
 
+### Redirects to Apache Nightlies, this will change when they have a separate 
area for released artifacts
+RedirectMatch temp ^/charts(/.*)?$ 
https://nightlies.apache.org/solr/release/helm-charts$1
+RedirectMatch temp ^/operator/downloads/crds(/(v\d\.\d\.\d(/.*)?)?)?$ 
https://nightlies.apache.org/solr/release/operator/crds$1
+
 ### Javadocs & Refguide
 
 # Hack: Append slash, if folder name does not end with slash - everything 
containing a "." is treated as file and excluded from redirect:
@@ -79,7 +83,3 @@ RewriteRule ^guide/\d+_\d+/(?!.+\.\w+$|.+/$).+$             
$0/ [R=301,L]
 # 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]
-
-### Redirects to Apache Nightlies, this will change when they have a separate 
area for released artifacts
-RewriteRule ^charts(/.*)?$ 
https://nightlies.apache.org/solr/release/helm-charts$1 [R,L]
-RewriteRule ^operator/downloads/crds(/(v\d\.\d\.\d(/.*)?)?)?$ 
https://nightlies.apache.org/solr/release/operator/crds$1 [R,L]

Reply via email to