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

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


The following commit(s) were added to refs/heads/asf-site by this push:
     new 00543ab69 .htaccess: Use non-capturing group so the whole URL ending 
is captured instead
00543ab69 is described below

commit 00543ab695f1f90de2c85fa23b8d810de1deb2c7
Author: Shad Storhaug <[email protected]>
AuthorDate: Wed Nov 6 19:22:11 2024 +0700

    .htaccess: Use non-capturing group so the whole URL ending is captured 
instead
---
 .htaccess | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.htaccess b/.htaccess
index db6eae549..3844984ef 100644
--- a/.htaccess
+++ b/.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