Removed man page for nweb
This commit is contained in:
parent
018a94c481
commit
8ba5c56fdb
@ -29,10 +29,6 @@ install -m755 nweb "$MAIN_SRC_DIR/work/src/minimal_overlay/rootfs/usr/bin/nweb"
|
||||
install -d -m755 "$MAIN_SRC_DIR/work/src/minimal_overlay/rootfs/srv/www" # FHS compliant location
|
||||
install -m644 "$SRC_DIR/index.html" "$MAIN_SRC_DIR/work/src/minimal_overlay/rootfs/srv/www/index.html"
|
||||
install -m644 "$SRC_DIR/favicon.ico" "$MAIN_SRC_DIR/work/src/minimal_overlay/rootfs/srv/www/favicon.ico"
|
||||
install -d -m755 "$MAIN_SRC_DIR/work/src/minimal_overlay/rootfs/usr/share"
|
||||
install -d -m755 "$MAIN_SRC_DIR/work/src/minimal_overlay/rootfs/usr/share/man"
|
||||
install -d -m755 "$MAIN_SRC_DIR/work/src/minimal_overlay/rootfs/usr/share/man/man8"
|
||||
install -m644 "$SRC_DIR/nweb.8" "$MAIN_SRC_DIR/work/src/minimal_overlay/rootfs/usr/share/man/man8/nweb.8"
|
||||
|
||||
echo "nweb has been installed."
|
||||
echo "type 'man nweb' to see what it can do on your mimial system"
|
||||
echo "run 'nweb 80 /srv/www &' on your minimal system to run it"
|
||||
|
@ -1,25 +0,0 @@
|
||||
.TH NWEB 8 "June 19, 2017"
|
||||
.SH NAME
|
||||
nweb \- small and very safe mini web server
|
||||
.SH SYNPOSIS
|
||||
.B nweb
|
||||
[\fIport\fR]
|
||||
[\fItopdir\fR]
|
||||
.SH DESCRIPTION
|
||||
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.
|
||||
|
||||
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
|
||||
|
||||
No warranty given or implied
|
||||
|
||||
Nigel Griffiths nag@uk.ibm.com
|
||||
.SH EXAMPLES
|
||||
"nweb 8181 /srv/www &"
|
||||
|
||||
Runs nweb on port 8181 serving files in /srv/www
|
Loading…
x
Reference in New Issue
Block a user