diff options
Diffstat (limited to 'lib/private/Setup.php')
-rw-r--r-- | lib/private/Setup.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Setup.php b/lib/private/Setup.php index 7fe44826d28..3b79b31b849 100644 --- a/lib/private/Setup.php +++ b/lib/private/Setup.php @@ -514,10 +514,10 @@ class Setup { $htaccessContent = explode($content, $htaccessContent, 2)[0]; //custom 403 error page - $content .= "\nErrorDocument 403 " . $webRoot . '/'; + $content .= "\nErrorDocument 403 " . $webRoot . '/index.php/error/403'; //custom 404 error page - $content .= "\nErrorDocument 404 " . $webRoot . '/'; + $content .= "\nErrorDocument 404 " . $webRoot . '/index.php/error/404'; // Add rewrite rules if the RewriteBase is configured $rewriteBase = $config->getValue('htaccess.RewriteBase', ''); |