Uploaded image for project: 'JBoss Core Services'
  1. JBoss Core Services
  2. JBCS-1947

Mod_dir DirectoryIndex breaks WebDAV PROPFIND / DELETE / MOVE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • httpd 2.4.57.SP3.CR3
    • httpd
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Workaround Exists
    • Hide

      Disable DirectoryIndex in WebDav-enabled directory.

      Show
      Disable DirectoryIndex in WebDav-enabled directory.
    • Hide
      • Configure the WebDAV in JCBS httpd and run the below command:
      1) curl -X MKCOL http://127.0.0.1/webdav/test/          201 created 
      2) curl -X MKCOL http://127.0.0.1/webdav/test/abc/        201 created 
      3) curl -X PROPFIND http://127.0.0.1/webdav/test/abc/     207 Multi-Status
      4) curl -X PUT http://127.0.0.1/webdav/test/abc/index.html 201 created 
      4) curl -X PROPFIND http://127.0.1/webdav/test/abc/    405 Method not found 
      5) curl -X DELETE http://127.0.1/webdav/test/abc/     405 Method not found
      
      Show
      Configure the WebDAV in JCBS httpd and run the below command: 1) curl -X MKCOL http: //127.0.0.1/webdav/test/ 201 created 2) curl -X MKCOL http: //127.0.0.1/webdav/test/abc/ 201 created 3) curl -X PROPFIND http: //127.0.0.1/webdav/test/abc/ 207 Multi-Status 4) curl -X PUT http: //127.0.0.1/webdav/test/abc/index.html 201 created 4) curl -X PROPFIND http: //127.0.1/webdav/test/abc/ 405 Method not found 5) curl -X DELETE http: //127.0.1/webdav/test/abc/ 405 Method not found

      • If a WebDav-enabled directory contains an index.html or whatever filename specified in DirectoryIndex then it give 405 error code. We can not use methods PROPFIND , MOVE , DELETE . All of these result in a 405 Method Not Allowed error.

              rhn-engineering-jclere Jean-Frederic Clere
              rhn-support-pamemane Pandurang Memane
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: