aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-03-01 13:07:06 -0600
committerGitHub <noreply@github.com>2017-03-01 13:07:06 -0600
commit766fa87cf84f467ce123270a5843dd95065e9c61 (patch)
treeeac7c090bf301c357796e040db8b185cbbef727f
parentaecec74a04160cb8a1d67540f3663ea40f49a873 (diff)
parent075d39e61aff9ddc45bc4b6bba29f23b52b2a0a0 (diff)
downloadnextcloud-server-766fa87cf84f467ce123270a5843dd95065e9c61.tar.gz
nextcloud-server-766fa87cf84f467ce123270a5843dd95065e9c61.zip
Merge pull request #3370 from Flole998/Flole998-patch-1
Fix for Win Clients sometimes not connecting
-rw-r--r--.htaccess2
1 files changed, 2 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index c5dbf194b04..525ee3a0fb6 100644
--- a/.htaccess
+++ b/.htaccess
@@ -55,6 +55,8 @@
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
+ RewriteCond %{HTTP_USER_AGENT} DavClnt
+ RewriteRule ^$ /remote.php/webdav/ [L,R=302]
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]