blob: add015ae49ddf3860852a2c777b717b8d894c57d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
httpserv
--------
httpserv is a small server to serve up a directory over HTTP. It's usage is:
httpserve [-p port] [-d dir]
By default it listens on port 80 and serves the current directory. To use
port 80 on UNIX/Linux you'll have to run as root to have access to such a low
port number.
By navigating to the root of the website it will generate a list of files in
the directory and links to download each one.
For security reasons sub directories aren't supported. The basname of the
passed file is used so that it must exist in the directory being served.
|