WebDAV with Ubuntu


modules

user@host:~$ sudo a2enmod dav
user@host:~$ sudo a2enmod dav_fs

/etc/apache2/mods-available/dav_fs.conf

DAVLockDB /var/lock/apache2/DAVLock
Alias /fs {/path/to/directory}
<Location /fs>
          Dav on
          Options +Indexes
          AuthType Basic
          AuthName "AuthName"
          AuthUserFile /etc/apache2/dav_fs.passwd
          Require valid-user
</Location>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s