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