noxz-sites

A collection of a builder and various scripts creating the noxz.tech sites
git clone https://noxz.tech/git/noxz-sites.git
Log | Files | README | LICENSE

noxz.tech/software/swps/index.www
1usage:
2.B swps
3.U port
4.U file
5.U -h ] [
6
7The purpose of
8.ICD swps
9is to serve a single static
10.U file
11as a web server. Besides serving a file in the root,
12.ICD swps
13also handles 301, 403 and 404.
14
15.HnS 1
16Installation
17.HnE
18
19Edit config.mk to match your local setup (swps is installed into the
20.I /usr/local
21namespace by default), then simply enter the following command to install (if
22necessary as root):
23
24.CDS
25.COS
26make clean install
27.COE
28.CDE
29
30.HnS 1
31Example usage of swps
32.HnE
33
34.CDS
35.COS
36# serve index.html on port 8080
37swps 8080 index.html
38.COE
39.CDE
40
41get source
42.URL //noxz.tech/git/swps.git here .