diff --git a/.htaccess b/.htaccess index 52caeaf70d42d..ece21e1450d32 100644 --- a/.htaccess +++ b/.htaccess @@ -90,7 +90,7 @@ 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 ^ocm-provider/?$ /index.php [QSA,L] + RewriteRule ^ocm-provider/?$ index.php [QSA,L] RewriteRule ^(?:\.(?!well-known)|autotest|occ|issue|indie|db_|console).* - [R=404,L]