WSGIDAV(1)
β¨ 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:localhostis only reachable from the local computer itself. wanna make your app public? use0.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 thecherootserver 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
- epel 10: python3-wsgidav 4.3.5-1.el10_3 Β· MIT
- epel 9: python3-wsgidav 4.3.5-1.el9 Β· MIT
- fedora 43: python3-wsgidav 4.3.3-14.fc43 Β· MIT
- fedora 43: python3-wsgidav 4.3.5-1.fc43 Β· MIT
- fedora 44: python3-wsgidav 4.3.3-17.fc44 Β· MIT
- fedora 44: python3-wsgidav 4.3.5-1.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms