You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/12/28 05:45:18 UTC

DO NOT REPLY [Bug 38059] New: - WebDAV MOVE request incorrectly returns "301 Moved Permanently"

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38059>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38059

           Summary: WebDAV MOVE request incorrectly returns "301 Moved
                    Permanently"
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_dav
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: rodda@kde.org


Please refer to KDE bug http://bugs.kde.org/show_bug.cgi?id=119066  
  
Moving a DAV collection without "User-Agent: Microsoft Data Access Internet  
Publishing Provider DAV" in the header generates the following output:  
  
MOVE /dav/test HTTP/1.1   
Connection: Keep-Alive   
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux 2.6.14.3; X11;  
x86_64; en_US) KHTML/3.5.0 (like Gecko)   
Pragma: no-cache   
Cache-control: no-cache   
Accept: text/html, image/jpeg, image/png, text/*, image/*, */*   
Accept-Encoding: x-gzip, x-deflate, gzip, deflate   
Accept-Charset: iso-8859-1, utf-8;q=0.5, *;q=0.5   
Accept-Language: en   
Host: 10.0.1.201   
Authorization: Basic YWRtaW46YWRtaW4=   
Destination: http://10.0.1.201/dav/test2   
Depth: infinity   
Overwrite: F   
   
HTTP/1.1 301 Moved Permanently   
Date: Wed, 28 Dec 2005 04:22:26 GMT   
Server: Apache/2.0.55 (Debian) DAV/2 mod_ssl/2.0.55 OpenSSL/0.9.8a  
mod_perl/2.0.1 Perl/v5.8.7   
Location: http://10.0.1.201/dav/test/   
Content-Length: 374   
Keep-Alive: timeout=15, max=100   
Connection: Keep-Alive   
Content-Type: text/html; charset=iso-8859-1   
   
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">  
<html><head>  
<title>301 Moved Permanently</title>  
</head><body>  
<h1>Moved Permanently</h1>  
<p>The document has moved <a href="http://10.0.1.201/dav/test/">here</a>.</p>  
<hr>  
<address>Apache/2.0.55 (Debian) DAV/2 mod_ssl/2.0.55 OpenSSL/0.9.8a  
mod_perl/2.0.1 Perl/v5.8.7 Server at 10.0.1.201 Port 80</address>  
</body></html>  
  
  
Adding "User-Agent: Microsoft Data Access Internet Publishing Provider DAV" to 
the request header makes the command succeed.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38059] - WebDAV MOVE request incorrectly returns "301 Moved Permanently"

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38059>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38059


trawick@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From trawick@apache.org  2005-12-28 14:25 -------
This is a client issue which can be worked-around via the configuration.

See this section in default conf file.

#
# 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.
# Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.

BrowserMatch "Microsoft Data Access Internet Publishing Provider" \
redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
BrowserMatch "^gnome-vfs" redirect-carefully
BrowserMatch "Microsoft-WebDAV-MiniRedir" redirect-carefully

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38059] - WebDAV MOVE request incorrectly returns "301 Moved Permanently"

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38059>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38059


rodda@kde.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.3-HEAD                    |2.0.55




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38059] - WebDAV MOVE request incorrectly returns "301 Moved Permanently"

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38059>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38059





------- Additional Comments From james.grinter@uk.nomura.com  2007-08-06 11:16 -------
Note, as of mid-2007 (maybe earlier), this workaround for "Microsoft Data 
Access Internet Publishing Provider" has a negative impact upon other usage by 
that client (Windows XP Web Folders.)

If you enable it, XP sees 'phantom' directories, which are actually the parent 
directory. If you disable it, they go away, but XP cannot then rename 
directories.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org