WebDAV root folder contains only index.html

Rezer

Cadet
Joined
Sep 18, 2023
Messages
6
I have WebDAV installed using http with basic authentication (behind ssl nginx reverse proxy), set to user/group 568 since the folders it's sharing are all owned by that user/group already. I have 3 shares setup. All 3 shares work fine if you access them directly, e.g. https://myserver.com/ShareName/ shows up no problem. However, if I navigate to https://myserver.com all I see is a directory listing with a single index.html file, the contents of which are simply "It works!".

I had assumed this was, for whatever reason, by design. However, now it seems like this may be preventing me from mapping the network shares to a drive in windows. I'm able to successfully map https://myserver.com to a drive, but it's a bit useless since all I see is index.html. When I go through the same procedure to map one of the shares, either with or without the trailing slash, windows just throws up an error saying "The network name cannot be found".

Is there any way of getting webdav to simply list the shares in the root directory instead of the index.html file, and is this likely to be the source of the problem? I don't see a very straightforward way of testing this, since the webdav container doesn't allow mounting arbitrary folders to attempt fiddling with the apache conf settings.
 

Haldi

Cadet
Joined
Feb 28, 2024
Messages
8
Same issue.
Just leaving this here in case anyone ever finds a solution.
 
Top