Looking for the latest version? Download Shell Webserver - shweb (15.2 kB)
Home
Name Modified Size Downloads / Week Status
Totals: 2 Items   16.0 kB 5
README 2011-05-30 800 Bytes 11 weekly downloads
shweb-0.01RC.tar.gz 2011-05-30 15.2 kB 44 weekly downloads
shweb ===== Mini web server developed in shell script language, needs inetd or xinetd superserver Features: * Static pages web server * One single shell script * Access and error logs with Apache Common Log Format * POSIX compliant * Embeded shell interpreters friendly (ash, dash, busybox) * No configs * Works with [x]inetd superdaemon * TCP wrapper compliant (through [x]inetd) * Connectivity and behavior configurable (through [x]inetd) * Small (~3KB) * Run service as unprivileged user * URL decoding (%XX) * Mime type text/* conversion from LF to CRLF * Hidden dirs/files not allowed * Parent dir reference not allowed (/../) * HTTP Error responses ** 404 Not Found ** 403 Not Permited ** 400 Bad Request ** 500 Internal Error Requisites * cat * cut * wc * date * file * stat * logger * sed
Source: README, updated 2011-05-30