You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2021/02/20 08:07:59 UTC

[struts-site] branch master updated: Makes anchor optional in redirection

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

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 18f96f7  Makes anchor optional in redirection
18f96f7 is described below

commit 18f96f70270466613977dcff0cd1a6389bda76dc
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Sat Feb 20 09:07:51 2021 +0100

    Makes anchor optional in redirection
---
 source/.htaccess | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/.htaccess b/source/.htaccess
index 0d23062..88755ec 100644
--- a/source/.htaccess
+++ b/source/.htaccess
@@ -24,6 +24,6 @@ RedirectMatch \/2.*\/(.*)?                          http://struts.apache.org/$1
 # page downloads.html was renamed to releases.html
 RedirectMatch \/downloads /releases
 
-RedirectMatch \/announce.html(#a[0-9]+) /announce-2020.html$1
+RedirectMatch \/announce.html(#a[0-9]+)? /announce-2020.html$1
 
 ErrorDocument 404 /404