commit 7b8bd138bee499509e8c2e198fc7b76f74e2edf1 parent f6b2ac0f8d7941aba094b36e84d3e286c3431ff4 Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Sat, 27 Apr 2024 21:20:33 +0200 Update htaccess file Diffstat:
M | priv/.htaccess | | | 12 | ------------ |
1 file changed, 0 insertions(+), 12 deletions(-)
diff --git a/priv/.htaccess b/priv/.htaccess @@ -1,18 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # SPDX-FileCopyrightText: 2021-2024 JayVii <jayvii[AT]posteo[DOT]de> -# Set 404 Document -ErrorDocument 404 /404.html -ErrorDocument 403 /404.html - -# Disallow file browsing -Options -Indexes - -# Disallow browsing of certain sub-directories (redirect to 404) -RedirectMatch 404 ^/.git/.*$ -RedirectMatch 404 ^/bin/.*$ -RedirectMatch 404 ^/templates/.*$ - # Protected / Private repositories AuthType Basic AuthName "Private Repositories! You need a password to access them."