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

            Bug ID: 54915
           Summary: GET on a WebDAV-enabled collection, with
                    DirectoryIndex disabled, returns 404
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_dav
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

If DirectoryIndex is disabled (see bug #54914), Apache incorrectly returns 404
for collection URLs. A more appropriate response would be "405 Method Not
Allowed", since the resource does exist and can be examined and manipulated
with DAV methods like PROPFIND, DELETE, MOVE, etc.

(Actually, with mod_dir loaded but DirectoryIndex disabled, a GET on
/blah/blah/somedir returns a 301 redirect to /blah/blah/somedir/ , but a
subsequent GET on /blah/blah/somedir/ returns 404, which just seems perverse.)

Behavior is the same in 2.4.4 and in 2.5.0-dev r1477687.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to