From 763c8c75560ec9e9d89e61a421b20d8b7d0eb671 Mon Sep 17 00:00:00 2001 From: ekatchko Date: Thu, 24 Jun 2021 21:11:30 +0200 Subject: [PATCH] error page for 404 and 403 --- config/apache2.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/apache2.conf b/config/apache2.conf index 888d9ee..e4c4e7f 100644 --- a/config/apache2.conf +++ b/config/apache2.conf @@ -172,7 +172,9 @@ Include ports.conf AllowOverride None Require all granted -ErrorDocument 404 /var/www/html/wiki/404.html + +ErrorDocument 404 /wiki/404.html +ErrorDocument 403 /wiki/404.html # # Options Indexes FollowSymLinks # AllowOverride None