Pihole and webdav on the same raspberry

Hello,

Today i installed pihole and i am very happy with it!
But i have one problem, i need a webdav server...

I followed this howto https://www.howtoforge.com/tutorial/how-to-install-webdav-with-lighttpd-on-debian-jessie/

i replaced "/var/www/web1/web" with "/var/www/html/webdav" and i put that in my "/etc/lighttpd/external.conf":

$HTTP["url"] =~ "^/webdav/($|/)" {
webdav.activate = "enable"
webdav.is-readonly = "disable"
dir-listing.activate = "enable"
webdav.sqlite-db-name = "/var/run/lighttpd/lighttpd.webdav_lock.db"
auth.backend = "htpasswd"
auth.backend.htpasswd.userfile = "/var/www/html/passwd.dav"
auth.require = ( "" => ( "method" => "basic",
"realm" => "webdav",
"require" => "valid-user" ) )
}

I can access it via ip/webdav but i have not rights to write there...when i add the line:

server.document-root = "/var/www/html/webdav"

it will be blocked by pihole...
I am new to lighttpd/linux and i can't find any help for my problem...

Many thanks in advance for your help

What about: Seafile or Nextcloud both offer WebDav.