FreeBSD Apache-2.4 and WebDAV

James B. Byrne byrnejb at harte-lyne.ca
Tue Feb 13 21:18:36 UTC 2018


Does anyone know why this prevents WebDAV from working?

LoadModule dir_module             libexec/apache24/mod_dir.so

If I disable this one module, which is enabled in the sample
configuration file, then WebDAV works fine.  Otherwise I get this
error:

open http://192.168.216.107/hll_dav/upload
Connection to `192.168.216.107' closed.
Authentication required for WebDAV Restricted on server
`192.168.216.107':
Username: test-user
Password:
Ignored error: /hll_dav/upload/ not WebDAV-enabled:
405 Method Not Allowed
dav:/hll_dav/upload/? ls
Listing collection `/hll_dav/upload/': failed:
405 Method Not Allowed

With this one change to the httpd.conf file:

#LoadModule dir_module             libexec/apache24/mod_dir.so

I get this result:

open http://192.168.216.107/hll_dav/upload
Connection to `192.168.216.107' closed.
Authentication required for WebDAV Restricted on server
`192.168.216.107':
Username: test-user
Password:
dav:/hll_dav/upload/>ls
Listing collection `/hll_dav/upload/': succeeded.
. . .

Is there any explanation for this behaviour?

-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3



More information about the freebsd-questions mailing list