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 8d782d38e .htaccess: Use second group capture with the URL to do the 
replacement
8d782d38e is described below

commit 8d782d38e4f8fcb9b919c380bf8f63f831c31d87
Author: Shad Storhaug <[email protected]>
AuthorDate: Wed Nov 6 19:26:13 2024 +0700

    .htaccess: Use second group capture with the URL to do the replacement
---
 .htaccess | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.htaccess b/.htaccess
index 3844984ef..e515be74f 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/$2 
[R=301,L]

Reply via email to