diff options
author | Vladimir Panteleev <git@thecybershadow.net> | 2018-03-14 23:01:06 +0100 |
---|---|---|
committer | Vladimir Panteleev <git@thecybershadow.net> | 2018-03-16 01:28:49 +0100 |
commit | 5ebb025589fb05b5aece4255bc61ed85a4715a60 (patch) | |
tree | 123ac87f62241b7177a1a41e228e1184f8b72586 | |
parent | c480ce865ba8f9671548b431afa19fd720422387 (diff) | |
download | bugzilla-5ebb025589fb05b5aece4255bc61ed85a4715a60.tar.gz bugzilla-5ebb025589fb05b5aece4255bc61ed85a4715a60.tar.xz |
.htaccess: Add ErrorDocument directives
Normally, this is done by Bugzilla::ModPerl.
Do the same for other configurations.
-rw-r--r-- | .htaccess | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -86,3 +86,8 @@ RewriteRule ^rest/(.*)$ rest.cgi/$1 [NE] RewriteRule ^(?:latest|1\.2|1\.3)/(.*)$ extensions/BzAPI/bin/rest.cgi/$1 [NE] RewriteRule ^bzapi/(.*)$ extensions/BzAPI/bin/rest.cgi/$1 [NE] RewriteRule ^login$ index.cgi?GoAheadAndLogIn=1 [NE] + +ErrorDocument 401 /errors/401.html +ErrorDocument 403 /errors/403.html +ErrorDocument 404 /errors/404.html +ErrorDocument 500 /errors/500.html |