information about this package can be found in the README. here is a html-version of the README:
quite useful, has been in production for quite some time.
shttpd is a simple httpd.
features:
see the manual page for full documentation
get the latest version from:
http://www.ueber.net/code/r/httpd
first make sure you have "http", the http library installed, see http://www.ueber.net/code/r/http.
make sure you have $ROOT set, now "mk install" to compile and install the files.
when building from within inferno, insert SYSHOST=Inferno and ROOT= in the mk invocations to override the values in the mkconfig.
all files written by me (i.e. all except the rfcs in doc/) are in the public domain. for bugs, questions, comments, etc., contact me at mechiel@ueber.net or mechiel@xs4all.nl.
some features will not be implemented. for example:
doc/testing.txt can be used for testing. it has to be done manually, enough corner cases have not been tested, but quite a few have.
todo:
to clone & pull:
hg clone http://www.ueber.net/hgsrv/httpd/
hg clone static-http://www.ueber.net/who/mjl/hg/httpd/
download a snapshot of the latest version: httpd-160.tgz.
the files in the latest revision can be found at /hg/httpd/files/tip/. a specific revision can be access by replacing "tip" with the revision number, (partial) nodeid or tag name. a few direct links to useful files in the latest revision:
| rev | nodeid | when | diff | why |
|---|---|---|---|---|
| 160 | edd11046ee3c | 6 weeks | diff | add mkconfig, mention in README. |
| 159 | cb53e5b772c4 | 7 months | diff | reset variable after having warned about its bad value, not before... |
| 158 | 5b3ecfb89271 | 7 months | diff | rename from plain "httpd" to "shttpd", to prevent clash with infer... |
| 157 | 92c3e7b6aa3e | 7 months | diff | with virtual hosting, don't look for directories named "host:port"... |
| 156 | 92c394f1add8 | 12 months | diff | it's cache-control: max-age=X, not cache-control: maxage=X. |
| 155 | 655c19b30966 | 13 months | diff | don't set (wrong) content-length on range-request (which gets a "p... |
| 154 | 38822a4d2e92 | 16 months | diff | add mimetype for .py (python source). don't compile logparse, it ... |
| 153 | 8d284c71c89d | 16 months | diff | prevents warnings about unknown mimetype on paths with directories... |
| 152 | ba288fb7c7e3 | 17 months | diff | recognize .y as text/plain. they are yacc files. |
| 151 | 0179573c36ad | 17 months | diff | many improvements: ... |
| 150 | 8f4f24e03195 | 17 months | diff | only style change to httpd.b, no code changed. welcome logparse, ... |
| 149 | d2bcd7cfd93e | 17 months | diff | make README conform to textmangle better, and mention new homepage. |
| 148 | 50e4af80c7d2 | 18 months | diff | sigh... merge went wrong, previous revision undid the change befor... |
| 147 | b0eb37368ad6 | 18 months | diff | some whitespace changes. |
| 146 | 43513d46f5e7 | 18 months | diff | change option -L (directory listings) to be more finegrained. ... |
| 145 | b8773326d1a8 | 18 months | diff | (try to) detect "synthetic" files. they sometimes/usually do not ... |
| 144 | 3c40f437cbc1 | 19 months | diff | silly me, its "man", not "install" |
| 143 | 5e77f189363f | 19 months | diff | install manual pages & allow nuking modules (if any). |
| 142 | 49c348fb1a47 | 19 months | diff | do not set content-type if we cannot determine it. before this, w... |
| 141 | a7e55421aee3 | 19 months | diff | mention that connection rate limiting will not be implemented. th... |
| 140 | 5006b8eda48b | 21 months | diff | do not keepalive connections when a post comes along that has a bo... |