WSGIDAV(1)

πŸ“¦ version 4.3.5, in epel 10, epel 9, fedora 43, fedora 44

✨ WSGIDAV ✨

okay bestie, sit down, hydrate, because we're about to run a WebDAV server πŸ’… this little icon (wsgidav, if we're being formal) spins up a server that shares file system folders with the world (or, like, your localhost, no pressure). it's giving "my files, but make it networked." πŸ¦‹


🌸 SYNOPSIS 🌸

wsgidav [-h] [-p PORT] [-H HOST] [-r ROOT_PATH]
[--auth {anonymous,nt,pam-login}]
[--server {cheroot,ext-wsgiutils,gevent,gunicorn,paste,uvicorn,wsgiref}]
[--ssl-adapter {builtin,pyopenssl}] [-v | -q]
[-c CONFIG_FILE | --no-config] [--browse] [-V]

that's a lot of brackets, i know. breathe. we'll go through every single one, no skips, no shortcuts, periodt. πŸ’–


πŸ‘‘ OPTIONS πŸ‘‘

  • -h, --help β€” pops a help message and dips. classic.
  • -p PORT, --port PORT β€” which port you're serving on (default: 8080) πŸ“
  • -H HOST, --host HOST β€” the host you're serving from (default: localhost). heads up: localhost is only reachable from the local computer itself. wanna make your app public? use 0.0.0.0. that's the whole vibe. 🌈
  • -r ROOT_PATH, --root ROOT_PATH β€” path to a file system folder to publish for RW as share /. yes, RW means read-write, so like, people can touch your files. be aware. πŸ’€
  • --auth {anonymous,nt,pam-login} β€” a quick lil way to configure a domain controller when you're not using a config file. pick one of those three, bestie.
  • --server {cheroot,ext-wsgiutils,gevent,gunicorn,paste,uvicorn,wsgiref} β€” which pre-installed WSGI server type you want (default: cheroot). so many options, so little time. πŸ”₯
  • --ssl-adapter {builtin,pyopenssl} β€” used by the cheroot server if SSL certificates are configured (default: builtin).
  • -v, --verbose β€” bumps verbosity up by one (default: 3, range: 0..5). louder = more info. πŸ“’
  • -q, --quiet β€” drops verbosity down by one. shhh. 🀫
  • -c CONFIG_FILE, --config CONFIG_FILE β€” the configuration file (default: (wsgidav.yaml, wsgidav.json) in the current directory)
  • --no-config β€” do not try to load the default (wsgidav.yaml, wsgidav.json). like, don't even look at them.
  • --browse β€” opens a browser on start. instant main character energy, love that for you. πŸŽ€
  • -V, --version β€” prints version info and exits (may be combined with --verbose, cute combo) ✨

🧚 EXAMPLES 🧚

share filesystem folder /temp for anonymous access (no config file used):

wsgidav --port=80 --host=0.0.0.0 --root=/temp --auth=anonymous

run using a specific configuration file:

wsgidav --port=80 --host=0.0.0.0 --config=~/my_wsgidav.yaml

and here's the tea 🍡: if no config file is specified, the application will look for a file named wsgidav.yaml in the current directory. see http://wsgidav.readthedocs.io/en/latest/run-configure.html for some explanation of the configuration file format. go read it, it's lowkey helpful, iykyk. πŸ’œ


πŸ’– SEE ALSO πŸ’–


and that's the whole page, bestie β€” you ate that. πŸ’… this was wsgidav, from March 2024, and it lives over in User Commands. now go share some folders responsibly, mwah 🫢🌸

πŸ“¦ where this page comes from