SWS: The Shell Script as Web Server
Developer Brett Wynkoop has written the code for a simple web server called Simple/Small/Shell Web Server (SWS) in the form of a shell script.
SWS is ideal to serve static content on the web; however, the open source program lacks a CGI-Interface. The script works with Bourne-compatible shells and requires the standard Unix programs dirname, cat, and date. According to Wynkoop, installation consists of putting the program somewhere, making it executable, creating the document directory, and creating an entry in inetd.conf. He has tested his small server in FreeBSD, Solaris, and Linux.
SWS 1.0 creates index pages for directory listings on the fly and includes a "404 Page" for the "File not found" error message. The server is available for download as a stand-alone script and as a tarball, and includes a man page on the SWS-powered project home page.
The SWS is published with a BSD-license.
Issue 207/2018
Buy this issue as a PDF
News
-
Dell Kickstarts 2018 with a Brand New Linux Laptop
The new laptop comes with Ubuntu 16.04 pre-loaded.
-
Linus Torvalds Rips Intel for Meltdown and Spectre Flaws
Torvalds is not happy with the way Intel handled these two vulnerabilities.
-
LibreOffice Based CODE 3.0 Released
You can now run the latest version of LibreOffice Online in your own cloud.
-
Google Announces Kubeflow to Bring Kubernetes to Machine Learning
The fully open source project is designed to help engineers build a machine learning stack using Kubernetes.
-
KubeCon Concluded in Austin, Texas
The Kubernetes community gathered in Austin, Texas.
-
Dell to Disable Intel’s Insecure IME
Dell responds to the reports of critical vulnerabilities in the Intel vPro Management Engine.
-
Linus Torvalds’ Precious Advice to Security Experts
Torvalds said that developers should focus more on debugging than resorting to fallback mode.
-
GPLv3 Comes to the Rescue of GPL Violators
Red Hat adopts GPLv3 cure provisions to help companies fix GPL violations.
-
Linux Kernel 4.14 Released
Torvalds lashes out at a Canonical developer who introduced a regression.
-
Fedora 27 Is Released
Developers can now access Red Hat Enterprise Linux Developer subscriptions on Fedora 27 at no cost.
