Apache WebDAV Configuration

Server Side Apache 2.2 WebDAV Configuration on FreeBSD 7.2

Remove the comment from the following line in /usr/local/etc/apache22/httpd.conf:

Include etc/apache22/extra/httpd-dav.conf

The default WebDAV configuration in /usr/local/etc/apache22/extra/httpd-dav.conf is a well-functioning setup. Probably the following lines should be changed:

  Alias /uploads "/usr/local/uploads"   # mapping the directory in the URL to physical path
  AuthUserFile "/usr/local/user.passwd" # location of the password file
  <LimitExcept GET OPTIONS>             # writes are restricted to the admin user
      require user admin
  </LimitExcept>

You can use the htdigest program to create the password database:

htdigest -c "/usr/local/user.passwd" DAV-upload admin

Client Side Issues

Clients to be Used on Windows

Windows Explorer

Windows XP, Vista and 7 doesn't connect to WebDAV using basic authentication as default unless the connection is using SSL(https). If https is set-up for WebDAV, then 'assigning a network drive' to \\servername\directory (e.g. \\met.softxs.hu\prod\upload) works (but extremely slow).

If no https is used, than a workaround helps:

Set registry parameter for WebClient to allow connection to non-SSL WebDAV with basic authentication.

After setting value data to 2, restart WebClient service or restart computer.

Data mapping:

See also: http://online.covisp.net/WebDAV.html

BitKinex

The BitKinex free utility works perfectly an all Windows version.

Connection via HTTPS using wget and genMeta.pl

When connecting to HTTPS sites with wget use the command line option --no-check-certificate, e.g.:

When using genMeta.pl on HTTPS sites, use the -n option:

On FreeBSD (and Mac OSX), using wget to connect to server via HTTPS generates the following error:

This occurs for wget versions 1.10.2 (FreeBSD 5.4 on honir) and 1.11.4 (FreeBSD 8.0 and Mac OSX 10.6).

WebDavConfiguration (last edited 2011-11-02 14:44:03 by 195)