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

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


The following commit(s) were added to refs/heads/main by this push:
     new b641ff8  htaccess to wiki
b641ff8 is described below

commit b641ff838e71b3ef29d75b6feb3d14ac41203bfe
Author: Eric Barboni <sk...@apache.org>
AuthorDate: Tue Oct 24 13:20:33 2023 +0200

    htaccess to wiki
---
 supplemental-ui/.htaccess | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/supplemental-ui/.htaccess b/supplemental-ui/.htaccess
index 056022e..f39f594 100644
--- a/supplemental-ui/.htaccess
+++ b/supplemental-ui/.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 301 "^/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