You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by bz...@apache.org on 2022/07/11 09:41:38 UTC

[apisix-website] branch master updated: chore: redirect 403 to 404 (#1202)

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

bzp2010 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 81eb89efc7a chore: redirect 403 to 404 (#1202)
81eb89efc7a is described below

commit 81eb89efc7a15d1fe33c9bb4b860ca50ffc330a1
Author: Young <is...@outlook.com>
AuthorDate: Mon Jul 11 17:41:13 2022 +0800

    chore: redirect 403 to 404 (#1202)
---
 .htaccess | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.htaccess b/.htaccess
index 291001172e0..ecc3747f890 100644
--- a/.htaccess
+++ b/.htaccess
@@ -7,6 +7,7 @@ RedirectMatch 404 /\.github
 RedirectMatch 404 /\.asf\.yaml
 
 ErrorDocument 404 /404.html
+ErrorDocument 403 /404.html
 
 RewriteEngine on
 CheckSpelling on