# WsgiDAV

WsgiDAV is a generic, extensible Python WebDAV (Web Distributed Authoring and Versioning) server that lets self-hosters share local folders over HTTP with authentication and SSL support. It is open source and self-hosted, installable on TrueNAS, Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/1657/wsgidav

## Description

WsgiDAV is a generic, extensible Python WebDAV (Web Distributed Authoring and Versioning) server that lets self-hosters share local folders over HTTP with authentication and SSL support.

## Platform availability

Available on 3 of 10 platforms: Unraid, TrueNAS, Windows.

## Desktop and other devices

Windows.

## Health score

76/100 (Good), based on 4 of 5 factors.
- Maintained: 100 (last commit 19 days ago)
- Popular: 62 (1,248 GitHub stars)
- Easy to install: 45 (2 install platforms, install notes, Docker image)
- Security check: 77 (no serious findings, CI, tests, OpenSSF Scorecard 5.1/10)

## Links

- GitHub: https://github.com/mar10/wsgidav
- TrueNAS: https://apps.truenas.com/catalog/webdav
- Docker Hub: https://hub.docker.com/r/mar10/wsgidav
- Unraid: https://ca.unraid.net/apps/wsgidav-16tts0h0fs35yd?q=WsgiDAV
- desktop: https://github.com/mar10/wsgidav/releases/latest
- Documentation: https://wsgidav.readthedocs.io
- Official website: https://wsgidav.readthedocs.io

## Common questions

### Why do WebDAV clients not see the folder I intended in direct WsgiDAV use?

Cheroot must be installed and WsgiDAV must be started with --root pointing at the real folder to share. The --root path is the folder clients see.

### How do I share a local folder using the WsgiDAV Docker image?

Use -v to map the host folder to /var/wsgidav-root and -p to expose a port such as 8080:8080. Without the -v mapping, the container does not share the intended files.

### Is the default anonymous access in WsgiDAV examples safe?

No, quick examples can allow anonymous connections and may allow writing to the share. For a real library, enable a login and use SSL when password authentication is used.

### What extra package is needed for pam-login authentication on Linux or OSX?

Install the python-pam library as an extra requirement, for example as wsgidav[pam], when using pam-login authentication.

### Can WsgiDAV be used behind another web server?

Yes, WsgiDAV implements the WSGI protocol and can run behind any WSGI-compliant web server. It is also a stand-alone WebDAV server.

### What Excel issue can occur with a custom WsgiDAV server?

Excel files may open in Protected View, and editing behavior may not be straightforward.

---
Source: Our Local Host (https://ourlocalhost.com/app/1657/wsgidav), the self-hosted and open-source app directory.
