TurnKey Linux Virtual Appliance Library

webdav how to

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.

Jeremy's picture

TBH I have no idea

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...

webdav how to

Hi Jeremy,

thanks a lot, following your hint I managed get it working with this very nice tutorial.

Bye

http://www.linuxserver.org/linux/ubuntu/webdav-ubuntu-10-04/

Jeremy's picture

Glad you got it working

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

URL no longer works

And since TKL is now Debian based here is an updated link to a working config.

*Tested on Debian 7.4.0

 

[ http://www.server-world.info/en/note?os=Debian_7.0&p=httpd&f=8 ]

Jeremy's picture

Good on you! :)

Thanks for posting a new tute! :)

Even simpler

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>

Jeremy's picture

Great work!

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 nice

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!

 

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)