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

mkpkgiso: fix broken hg repos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 18 15:57:37 2018 +0200 (2018-05-18)
parents 7c1765f8e1e6
children
rev   line source
pankso@63 1 TazTPD - SliTaz micro HTTP Web Server
pankso@63 2 ================================================================================
pankso@63 3
pankso@63 4
paul@65 5 TazTPD is a very small Web Server written in Shell script which can be run in
paul@65 6 user space and so without root access. TazTPD is not designed to be used in a
paul@65 7 production environment but for fun, for testing, to easily serve static files or
paul@65 8 dynamic content on demand with CGI scripts.
pankso@63 9
paul@65 10 The goal is to keep the TazTPD core as small and responsive as possible. Anything
paul@65 11 is possible, we may have better directory listings and several plugins depending
paul@65 12 on user feedback, 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
paul@65 15 special tasks such as streaming audio with a very small footprint. By
paul@65 16 the way, TazTPD outputs valid xHTML 5 documents with clean generated
pankso@63 17 code.
pankso@63 18
paul@65 19 Under the hood... This small (actual 3Kb) Web Server will be part of all
paul@65 20 SliTaz installations and dedicated to the the user! Yes it can do many
paul@65 21 things with its CGI capacity like the famous QUERY_STRING. Without talking
paul@65 22 about it, it's all SHell, Ash compatible, like all other SliTaz tools and
paul@65 23 utilities. So the idea is here, now the code must follow, but we will have a
paul@65 24 full Tazpkg 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
paul@65 32 * TazTPD can run in user mode through nc and from inetd
pankso@63 33 --> www stream tcp nowait nobody /usr/bin/taztpd taztpd
pankso@63 34