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

skygo pushed a commit to branch antora
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


The following commit(s) were added to refs/heads/antora by this push:
     new d968d9a0d Update .htaccess test wiki on stage
d968d9a0d is described below

commit d968d9a0d991c0c6e1f1af5cd748770103e1195f
Author: Eric Barboni <sk...@apache.org>
AuthorDate: Tue Oct 24 13:11:51 2023 +0200

    Update .htaccess test wiki on stage
---
 .htaccess | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.htaccess b/.htaccess
index 056022e97..f5604a454 100644
--- a/.htaccess
+++ b/.htaccess
@@ -91,7 +91,7 @@ Redirect 301 /participate/ /front/main/participate/
 Redirect 301 /kb/ /tutorial/main/kb/
 Redirect 301 /tutorials/ /tutorial/main/tutorial/
 #trying to prevent inifinite redirect
-RedirectMatch 301 ^/wiki/ /wiki/main/wiki/
+RedirectMatch temp "^/wiki(?!/main)(.*)$" "/wiki/main/wiki/$1"
 Redirect 301 /download/ /front/main/download/
 
 # A simple error page to antora folder


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to