slackbuilds_ponce/network/nweb
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
nweb.info
nweb.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
README
README.client
slack-desc

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.