From 701d5cff915eeecbbf99e25a08f41ed6ed20e29c Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Thu, 29 Jul 2021 11:53:27 -0100 Subject: [PATCH] do not rewrite to top root index.php Signed-off-by: Maxence Lange --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 2a6a0cbfac68c..10d78b5c34af3 100644 --- a/.htaccess +++ b/.htaccess @@ -65,7 +65,7 @@ RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L] RewriteRule ^remote/(.*) remote.php [QSA,L] RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L] - RewriteRule ^\.well-known/(?!acme-challenge|pki-validation) /index.php [QSA,L] + RewriteRule ^\.well-known/(?!acme-challenge|pki-validation) index.php [QSA,L] RewriteRule ^(?:\.(?!well-known)|autotest|occ|issue|indie|db_|console).* - [R=404,L]