slitaz-dev-tools annotate taztpd/README @ rev 63

Add TazTPD - A tiny Web server (3,5 Kb) all in shell script
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 06 02:09:31 2011 +0200 (2011-04-06)
parents
children 1bad02cad0b4
rev   line source
pankso@63 1 TazTPD - SliTaz micro HTTP Web Server
pankso@63 2 ================================================================================
pankso@63 3
pankso@63 4
pankso@63 5 TazTPD is a very small Web Server all in Shell script who can be run in user
pankso@63 6 space and so without root access. TazTPD is not designed to be used in a
pankso@63 7 production envirinment but for fun, for testing, to easily and on demand serve
pankso@63 8 static files or dynamic content with CGI scripts.
pankso@63 9
pankso@63 10 The goal is to keep TazTPD core as small and response as possible. Everything
pankso@63 11 is possible, we may have better directory listing and several plugins depending
pankso@63 12 on users feedbacks, requests and our free time.
pankso@63 13
pankso@63 14 TazTPD is also a nice base to create small or custom servers dedicated to
pankso@63 15 a special task such as streaming audio and with a very small footprint. By
pankso@63 16 the way, TazTPD output some valid xHTML 5 documents with a clean generated
pankso@63 17 code.
pankso@63 18
pankso@63 19 Under the hood... This small (actuall 3Kb) Web Server will be part of all
pankso@63 20 SliTaz installation and dedicated to the the user! Yes it can do many
pankso@63 21 things with it CGI capacity and the so famous QUERY_STRING without talking
pankso@63 22 about it is all SHell, Ash compatible, like all other SliTaz tools and utility.
pankso@63 23 So the idea is here now the code must follow, but we will have a full Tazpkg
pankso@63 24 web based graphical interface.
pankso@63 25
pankso@63 26
pankso@63 27 Quick notes
pankso@63 28 -----------
pankso@63 29
pankso@63 30 * CGI scripts must be executable: chmod 0777 *.cgi
pankso@63 31 * xHTML and text CGI scripts works well
pankso@63 32 * TazTPD can run in user mode throught nc and from inetd
pankso@63 33 --> www stream tcp nowait nobody /usr/bin/taztpd taztpd
pankso@63 34