Combine WebDAV and index

Hey guys,

I am trying to use the index directive together with webdav. However when I browse to a directory within my webdav I get a listing of all files within rather than the index.html file.

This is my old Caddyfile and I can browse to http://example.com/somedir and get a filesomedir.html served.

:80
ext .html
root /data
webdav {
    scope /data
}

However I want to visit http://example.com/somedir and get somedir/index.html served but I just get above mentioned listing of the files within somedir.

:80
index
root /data
webdav {
    scope /data
}

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.