aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorFlole998 <Flole998@users.noreply.github.com>2017-02-03 23:47:18 +0100
committerGitHub <noreply@github.com>2017-02-03 23:47:18 +0100
commit075d39e61aff9ddc45bc4b6bba29f23b52b2a0a0 (patch)
tree601032b3b801eff6294acfbe95dd33ad0ddbf77a /.htaccess
parent49bce9140408ecba1b6a5eec13962bc05d1d4a4b (diff)
downloadnextcloud-server-075d39e61aff9ddc45bc4b6bba29f23b52b2a0a0.tar.gz
nextcloud-server-075d39e61aff9ddc45bc4b6bba29f23b52b2a0a0.zip
Fix for Win Clients sometimes not connecting
Fix for Win Clients sometimes not connecting
Diffstat (limited to '.htaccess')
-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]