table of contents
other versions
- bookworm 1.4.6+dfsg1-1
- testing 1.4.6+dfsg1-2
- unstable 1.4.6+dfsg1-2
- experimental 1.5.2+dfsg1-1~exp2
ADSF(1) | User Commands | ADSF(1) |
NAME¶
adsf - a dead simple fileserver
SYNOPSIS¶
adsf [options]
DESCRIPTION¶
adsf (A Dead Simple Fileserver) is a tiny web server that can be spawned in any directory to serve static files. It can be used programmatically in Rack and other Ruby applications.
- -H, --handler [handler]
- Specify the handler to use
- -h, --help
- Display help
- -V, --version
- Show version
- -i [index-filenames],
- Specify index filenames (comma-separated)
--index-filenames
- -x [extensions],
- Specify suffixes to automatically apply to requests (comma-separated, including dot)
--auto-extensions
- -p, --port [port]
- Specify the port number to use
- -r, --root [root]
- Specify the web root to use
- -l, --local-only
- Only listen to requests from localhost (short for "-a localhost")
- -a, --listen-address [host]
- Specify the address to listen to
- -L, --live-reload
- Reload on changes (requires adsf-live)
January 2025 | ruby 1.5.2+dfsg1 |