usage: swps port file [-h]
The purpose of swps is to serve a single static file as a web server. Besides serving a file in the root, swps also handles 301, 403 and 404.
Edit config.mk to match your local setup (swps is installed into the /usr/local namespace by default), then simply enter the following command to install (if necessary as root):
Example usage of swps
get source here.