Hi All,

is there a way to enable webdav via webmin? I found an option to activate the modules but none

to configure the virtual hosts.

Or can you tell me what apache config file to edit to enable it for a specific host.

Thanks for you help.

Replies (9)

TBH I have no idea

Reply 1

But seeing as TKL v11.x is Ubuntu 10.04/Lucid under the hood then any instructions you find for that should directly relate to TKL. Sorry I can't help you any more than that...

Glad you got it working

Reply 2

And thanks for posting back with the link to the tutorial that worked!

Good on you! :)

Reply 4

Thanks for posting a new tute! :)

Great work!

Reply 6

Thanks for posting back, that's awesome!

Update: I decided to add this to the docs because I thought it is a very useful thing. I tweaked your example a little and added some extra detail. Please feel free to tweak it further if you think I got it wrong (the docs are a wiki so all logged in users can edit). Also I still need to double check it by testing it out to confirms that it works as it should.

If anyone has a chance and can double check, that'd be great! :)

Even simpler

Reply 7

Be sure to activate the modules: (simply hit that into the shell)

a2enmod dav_fs

a2enmod dav

and add somthing like that to you virtual host config:

 

       Alias /webdav /anywhere

       <Location /webdav>
         DAV On
         SSLRequireSSL
         Options None
         AuthType Basic
         AuthName webdav
         AuthUserFile /topasswd/passwdadmin.dav

         <LimitExcept GET OPTIONS>
         Require valid-user
         </LimitExcept>

         </Location>

Even nice

Reply 8

Yours is of course even nicer and it is the full story with permissions and password creation!
I tested it in one machine, when I use it again I will post it here!

 

RE:RE:RE:RE:RE:RE:RE:RE:メモ

Reply 9

I was really struggling to get WebDAV working and had no idea where to start. This post and the follow-up comments saved me a lot of time. The steps and the config snippet shared here made everything click, and I was able to enable WebDAV on my server in no time.

Also, I recently set up my Python environment using [this guide to install miniconda ubuntu](https://docs.vultr.com/how-to-install-miniconda-on-ubuntu-24-11), and it worked seamlessly for me! Thanks again for this awesome resource, I really appreciate it! Keep up the great work!