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 2010/07/24 00:49:50 UTC

DO NOT REPLY [Bug 49643] New: WebDav plus mod Negotiation causes directory creation errors

https://issues.apache.org/bugzilla/show_bug.cgi?id=49643

           Summary: WebDav plus mod Negotiation causes directory creation
                    errors
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_dav
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: lou@montulli.org


This looks related in some way to bug 48576.

Mod Negotiation is loaded, but Multiviews has been turned off.
I tried -MultiViews as well as removing all MultiViews options from the
configuration.

The problem goes away if mod Negotiation is not loaded.

Create a file via Webdav with an extenstion.  "foo.zip".   Now try and create a
directory with the root name of the file: "foo".   The directory creation will
fail with a "400 Bad Request"   Internal to the WebDav code it thinks that
"foo" already exists as an object during the "mkcol" command.

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

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


DO NOT REPLY [Bug 49643] WebDav plus mod Negotiation causes directory creation errors

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49643

Lou Montulli <lo...@montulli.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lou@montulli.org

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

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


DO NOT REPLY [Bug 49643] WebDav plus mod Negotiation causes directory creation errors

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49643

Stefan Fritsch <sf...@sfritsch.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Stefan Fritsch <sf...@sfritsch.de> 2010-10-24 17:26:25 EDT ---
I can't reproduce that.

Is there anything relevant in the errorlog if you set loglevel to debug?
Can you post a simple example config with which this bug is reproducible?

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

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


[Bug 49643] WebDav plus mod Negotiation causes directory creation errors

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49643

zaven navoyan <za...@arminco.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #2 from zaven navoyan <za...@arminco.com> ---
I also faced such problem. The following error log is written in the error log
file:
Could not fetch resource information.  [400, #0]
The URL contains extraneous path components. The resource could not be
identified.  [400, #0]

The configuration that reproduce problem:
Alias /user13 "/home/davusers/user13"
<Directory "/home/davusers/user13">
    DAV On
    ForceType text/plain
    DAVSATMaxAreaSize 8192000 // This directive comes when installing 3-rd
party patch for quota management
    Options Indexes MultiViews

    AuthType Basic
    AuthName "Test Account for Basic autentication"
    AuthUserFile /etc/apache2/sites-enabled/.password
    Require valid-user
    AllowOverride None
    Order allow,deny
    allow from all
    DirectorySlash ON
</Directory>

To reproduce problem firstly create aaa.txt file then try to create aaa
directory using
MKCOL /user13/aaa/ HTTP/1.1


Apache server version:
Server Version: Apache/2.2.16 (Debian) DAV/2 PHP/5.3.3-7+squeeze13 with
          Suhosin-Patch mod_ssl/2.2.16 OpenSSL/0.9.8o

System: Debian 6.0.5 x86_64

When I remove mod negotiation as described below, the problem solves.


Regards,
Zaven.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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