From: Greg Stein Date: Fri, 25 Jan 2002 00:24:47 +0000 (+0000) Subject: Enable the BrowserMatch for Microsoft's DAV client -- we know it is X-Git-Tag: 2.0.31~99 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72046380c282a64c0bf66cbdc3f3e2f63ee11284;p=apache Enable the BrowserMatch for Microsoft's DAV client -- we know it is broken. Add a match for the WebDrive client. It is similarly broken. Sync up the NetWare and Windows .conf files a bit. Submitted by: Sander Striker , Greg Stein git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93013 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/conf/httpd-nw.conf b/docs/conf/httpd-nw.conf index fac739f94e..57daa9afdf 100644 --- a/docs/conf/httpd-nw.conf +++ b/docs/conf/httpd-nw.conf @@ -832,25 +832,24 @@ AddType application/x-tar .tgz # -# The following directives modify normal HTTP response behavior. -# The first directive disables keepalive for Netscape 2.x and browsers that -# spoof it. There are known problems with these browser implementations. -# The second directive is for Microsoft Internet Explorer 4.0b2 -# which has a broken HTTP/1.1 implementation and does not properly -# support keepalive when it is used on 301 or 302 (redirect) responses. +# The following directives modify normal HTTP response behavior to +# handle known problems with browser implementations. # BrowserMatch "Mozilla/2" nokeepalive BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 - -# -# The following directive disables HTTP/1.1 responses to browsers which -# are in violation of the HTTP/1.0 spec by not being able to grok a -# basic 1.1 response. -# BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0 +# +# The following directive disables redirects on non-GET requests for +# a directory that does not include the trailing slash. This fixes a +# problem with Microsoft WebFolders which does not appropriately handle +# redirects for folders with DAV methods. +# +BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully +BrowserMatch "^WebDrive" redirect-carefully + # # Allow server status reports, with the URL of http://servername/server-status # Change the ".@@DomainName@@" to match your domain to enable. diff --git a/docs/conf/httpd-std.conf b/docs/conf/httpd-std.conf index 038611cda2..805ace4841 100644 --- a/docs/conf/httpd-std.conf +++ b/docs/conf/httpd-std.conf @@ -909,7 +909,8 @@ BrowserMatch "JDK/1\.0" force-response-1.0 # problem with Microsoft WebFolders which does not appropriately handle # redirects for folders with DAV methods. # -#BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully +BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully +BrowserMatch "^WebDrive" redirect-carefully # # Allow server status reports, with the URL of http://servername/server-status diff --git a/docs/conf/httpd-win.conf b/docs/conf/httpd-win.conf index ecaa108a31..7417063ebf 100644 --- a/docs/conf/httpd-win.conf +++ b/docs/conf/httpd-win.conf @@ -841,7 +841,8 @@ BrowserMatch "JDK/1\.0" force-response-1.0 # problem with Microsoft WebFolders which does not appropriately handle # redirects for folders with DAV methods. # -#BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully +BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully +BrowserMatch "^WebDrive" redirect-carefully # # Allow server status reports, with the URL of http://servername/server-status