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

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git


The following commit(s) were added to refs/heads/master by this push:
     new fcd7684f1 websites/site/lucenetemplate/.htaccess: Fixed regex so it 
doesn't capture the -latest or Latest part of the URL
fcd7684f1 is described below

commit fcd7684f1203ce39f3bcf158a679344d40ed0ac7
Author: Shad Storhaug <[email protected]>
AuthorDate: Wed Nov 6 19:36:57 2024 +0700

    websites/site/lucenetemplate/.htaccess: Fixed regex so it doesn't capture 
the -latest or Latest part of the URL
---
 websites/site/lucenetemplate/.htaccess | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/websites/site/lucenetemplate/.htaccess 
b/websites/site/lucenetemplate/.htaccess
index 05acaef2d..9d8358e4a 100644
--- a/websites/site/lucenetemplate/.htaccess
+++ b/websites/site/lucenetemplate/.htaccess
@@ -42,4 +42,4 @@ RewriteEngine On
 RewriteRule ^docs/latest/(.*)$ /docs/3.0.3/$1 [R=301,L]
 
 # Redirect /docs/absolute-latest/ to /docs/4.8.0-beta00017/
-RewriteRule ^docs/absolute(-latest|Latest)/(.*)$ /docs/4.8.0-beta00017/$1 
[R=301,L]
+RewriteRule ^docs/absolute(?:-latest|Latest)/(.*)$ /docs/4.8.0-beta00017/$1 
[R=301,L]

Reply via email to