diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2021-04-16 17:33:06 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-04-16 17:33:06 +0700 |
commit | 41b95cf8cbf87711e286acc3bfe0e39f5aad36e9 (patch) | |
tree | c150760edaa89ddf3fac35f041a77df745376df9 /network/nweb/README | |
parent | ce3630d8cd92f83f8a0c8e16f1b22281f6f65c3a (diff) |
network/nweb: Added (tiny web server in C).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/nweb/README')
-rw-r--r-- | network/nweb/README | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/network/nweb/README b/network/nweb/README new file mode 100644 index 0000000000000..9f882d64d92aa --- /dev/null +++ b/network/nweb/README @@ -0,0 +1,23 @@ +A tiny web server in C. + +nweb is a small and very safe mini web server nweb only servers out +file/web pages with extensions named below and only from the named +directory or its sub-directories. + +There is no fancy features = safe and secure. + +Example: nweb 8181 /home/nwebdir & + +Only Supports: gif jpg jpeg png ico zip gz tar htm html +Not Supported: URLs including "..", Java, Javascript, CGI +Not Supported: directories / /etc /bin /lib /tmp /usr /dev /sbin + +client.c: + +Also included is the source for a client. This client.c program is +designed to fake being a web browser. It sends the expected requests to +the web server over a network socket connection and displays the results +as text rather than graphically displaying the results. In the code you +will have to change the two lines as below to match your web server or +nweb server. See README.client for instructions. The client.c source +code can be found in the /usr/doc/nweb-<VERSION> directory. |