WebDAV support with apache on Directadmin powered server

So you decided to add a WebDAV support into Apache on Directadmin server with Custombuild 2.x. Here you can find a basic guide on how to achieve it. First of all please keep in mind, that Apache is already built with WebDAV support if you install it with custombuild on a Directadmin server.

That’s all. Now we need to update settings and configs, and here is how you can do it:

Enabling WebDAV methods in Apache

The recent update of custombuild (v2.x) makes the things easier for changing. Please note you can now find

http_methods=GET:HEAD:POST

in /usr/local/directadmin/custombuild/options.conf. If it’s missing then you could try and run

cd /usr/local/directadmin/custombuild/
./build update

to download the latest custombuild version and update list of options.

Control it with the following commands:

# cd /usr/local/directadmin/custombuild/
# grep GET options.conf
http_methods=GET:HEAD:POST

Now it’s time to enable desired methods, use the following command:

./build set http_methods GET:HEAD:POST:PROPFIND:OPTIONS:PUT:DELETE:MKCOL:COPY:MOVE:REPORT

and rewrite configs

./build rewrite_confs

in order to get all the changes applied.

That’s it.

Leave a Reply

Your email address will not be published. Required fields are marked *