diff options
author | Ian C <ianc@noddybox.co.uk> | 2024-04-19 22:37:13 +0100 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2024-04-19 22:37:13 +0100 |
commit | 93cdb0f2f70df596baea0bb8c36a7a764753527d (patch) | |
tree | c453dd23477ede174d38714388e8a01422bc5e3b /README | |
parent | 9608c60358c60c6c921a00915f548fefcbcb8757 (diff) |
Added READMEV1.0
Diffstat (limited to 'README')
-rw-r--r-- | README | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -0,0 +1,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. |