From 1c8c27b5c50c99636b83d9f0718272a1d835b15b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20J=C3=BCrges?= Date: Wed, 25 Oct 2017 10:50:27 +0200 Subject: [PATCH] Update .htaccess --- .htaccess | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 7bf8759e38397..d149521cbb761 100644 --- a/.htaccess +++ b/.htaccess @@ -55,7 +55,8 @@ RewriteEngine on RewriteCond %{HTTP_USER_AGENT} DavClnt - RewriteRule ^$ /remote.php/webdav/ [L,R=302] + RewriteCond %{REQUEST_METHOD} OPTIONS + RewriteRule .* - [R=401,L] RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteRule ^\.well-known/host-meta /public.php?service=host-meta [QSA,L] RewriteRule ^\.well-known/host-meta\.json /public.php?service=host-meta-json [QSA,L]