This is a static file server written in bash
Just run bashttpd.sh
and it will serve files from the current directory.
Operation can be modified with environment variables:
ROOT
: root path to serve (default.
)PORT
: port number to listen on (default8080
)VERBOSE
: if nonempty, all network i/o will be logged (default""
)
Probably not.
Please don't.
No.
Why not?