Module Name: src Committed By: wiz Date: Sat Oct 12 22:37:43 UTC 2013
Modified Files: src/libexec/httpd: bozohttpd.8 Log Message: Sort. More markup. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/libexec/httpd/bozohttpd.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/libexec/httpd/bozohttpd.8 diff -u src/libexec/httpd/bozohttpd.8:1.40 src/libexec/httpd/bozohttpd.8:1.41 --- src/libexec/httpd/bozohttpd.8:1.40 Sat Oct 12 17:25:18 2013 +++ src/libexec/httpd/bozohttpd.8 Sat Oct 12 22:37:43 2013 @@ -1,4 +1,4 @@ -.\" $NetBSD: bozohttpd.8,v 1.40 2013/10/12 17:25:18 mbalmer Exp $ +.\" $NetBSD: bozohttpd.8,v 1.41 2013/10/12 22:37:43 wiz Exp $ .\" .\" $eterna: bozohttpd.8,v 1.101 2011/11/18 01:25:11 mrg Exp $ .\" @@ -36,8 +36,8 @@ .Nm .Op Fl CIMPSZciptvx .Op Fl C Ar suffix cgihandler -.Op Fl L Ar prefix script .Op Fl I Ar port +.Op Fl L Ar prefix script .Op Fl M Ar suffix type encoding encoding11 .Op Fl P Ar pidfile .Op Fl S Ar server_software @@ -96,27 +96,6 @@ outside of the cgibin directory to be ex Multiple .Fl C options may be passed. -.It Fl L Ar prefix script -Adds a new Lua script for a particular prefix. -The -.Ar prefix -should be an arbitrary text, and the -.Ar script -should be a full path to a Lua script. -Multiple -.Fl L -options may be passed. -A separate Lua state is created for each prefix. -The Lua script can register callbacks using the -httpd.register_handler('<name>', function) Lua function, -which will trigger the execution of the Lua function -.Em function -when a URL in the form -.Em http://<hostname>/<prefix>/<name> -is being accessed. -The function is passed three tables as arguments, the server -environment, the request headers, and the decoded query string -plus any data that was send as application/x-www-form-urlencoded. .It Fl c Ar cgibin Enables the CGI/1.1 interface. The @@ -183,6 +162,27 @@ option is used. This option is only valid with the .Fl b option. +.It Fl L Ar prefix script +Adds a new Lua script for a particular prefix. +The +.Ar prefix +should be an arbitrary text, and the +.Ar script +should be a full path to a Lua script. +Multiple +.Fl L +options may be passed. +A separate Lua state is created for each prefix. +The Lua script can register callbacks using the +httpd.register_handler('<name>', function) Lua function, +which will trigger the execution of the Lua function +.Em function +when a URL in the form +.Em http://<hostname>/<prefix>/<name> +is being accessed. +The function is passed three tables as arguments, the server +environment, the request headers, and the decoded query string +plus any data that was send as application/x-www-form-urlencoded. .It Fl M Ar suffix type encoding encoding11 Adds a new entry to the table that converts file suffixes to content type and encoding. @@ -509,149 +509,152 @@ This manual documents .Nm version 20130711. .Sh AUTHORS +.An -nosplit .Nm -was written by Matthew R. Green -.Aq m...@eterna.com.au . +was written by +.An Matthew R. Green +.Aq Mt m...@eterna.com.au . .Pp The large list of contributors includes: .Bl -dash .It -Marc Balmer -.Aq mbal...@netbsd.org +.An Marc Balmer +.Aq Mt mbal...@netbsd.org added Lua support for dynamic content creation .It -Arnaud Lacombe -.Aq a...@netbsd.org +.An Arnaud Lacombe +.Aq Mt a...@netbsd.org provided some clean up for memory leaks .It -Christoph Badura -.Aq b...@bsd.de +.An Christoph Badura +.Aq Mt b...@bsd.de provided Range: header support .It -Sean Boudreau -.Aq se...@netbsd.org +.An Sean Boudreau +.Aq Mt se...@netbsd.org provided a security fix for virtual hosting .It -Julian Coleman -.Aq j...@coris.org.uk +.An Julian Coleman +.Aq Mt j...@coris.org.uk provided an IPv6 bugfix .It -Chuck Cranor -.Aq ch...@research.att.com +.An Chuck Cranor +.Aq Mt ch...@research.att.com provided cgi-bin support fixes, and more .It -DEGROOTE Arnaud -.Aq degro...@netbsd.org +.An DEGROOTE Arnaud +.Aq Mt degro...@netbsd.org provided a fix for daemon mode .It -Andrew Doran -.Aq a...@netbsd.org +.An Andrew Doran +.Aq Mt a...@netbsd.org provided directory indexing support .It -Per Ekman -.Aq p...@pdc.kth.se +.An Per Ekman +.Aq Mt p...@pdc.kth.se provided a fix for a minor (non-security) buffer overflow condition .It -Alistair G. Crooks -.Aq a...@netbsd.org +.An Alistair G. Crooks +.Aq Mt a...@netbsd.org cleaned up many internal interfaces, made bozohttpd linkable as a library and provided the Lua binding. .It -Roland Dowdeswell -.Aq el...@netbsd.org +.An Roland Dowdeswell +.Aq Mt el...@netbsd.org added support for serving gzipped files and better SSL handling .It -Jun-ichiro itojun Hagino, KAME -.Aq ito...@iijlab.net +.An Jun-ichiro itojun Hagino, KAME +.Aq Mt ito...@iijlab.net provided initial IPv6 support .It -Martin Husemann -.Aq mar...@netbsd.org +.An Martin Husemann +.Aq Mt mar...@netbsd.org provided .bzabsredirect support, and fixed various redirection issues .It -Arto Huusko -.Aq arto.huu...@pp2.inet.fi +.An Arto Huusko +.Aq Mt arto.huu...@pp2.inet.fi provided fixes cgi-bin .It -Roland Illig -.Aq roland.il...@gmx.de +.An Roland Illig +.Aq Mt roland.il...@gmx.de provided some off-by-one fixes .It -Zak Johnson -.Aq z...@nox.cx +.An Zak Johnson +.Aq Mt z...@nox.cx provided cgi-bin enhancements .It -Nicolas Jombart -.Aq e...@ipv42.net +.An Nicolas Jombart +.Aq Mt e...@ipv42.net provided fixes for HTTP basic authorisation support .It -Antti Kantee -.Aq po...@netbsd.org +.An Antti Kantee +.Aq Mt po...@netbsd.org provided fixes for HTTP basic authorisation support .It -Thomas Klausner -.Aq w...@netbsd.org +.An Thomas Klausner +.Aq Mt w...@netbsd.org provided many fixes and enhancements for the man page .It -Johnny Lam -.Aq j...@netbsd.org +.An Johnny Lam +.Aq Mt j...@netbsd.org provided man page fixes .It -Julio Merino -.Aq j...@netbsd.org +.An Julio Merino +.Aq Mt j...@netbsd.org Added the .Fl P option. .It -Luke Mewburn -.Aq lu...@netbsd.org +.An Luke Mewburn +.Aq Mt lu...@netbsd.org provided many various fixes, including cgi-bin fixes and enhancements, HTTP basic authorisation support and much code clean up .It -Jeremy C. Reed -.Aq r...@netbsd.org +.An Jeremy C. Reed +.Aq Mt r...@netbsd.org provided several clean up fixes, and man page updates .It -Scott Reynolds -.Aq sco...@netbsd.org +.An Scott Reynolds +.Aq Mt sco...@netbsd.org provided various fixes .It -Tyler Retzlaff -.Aq r...@eterna.com.au +.An Tyler Retzlaff +.Aq Mt r...@eterna.com.au provided SSL support, cgi-bin fixes and much other random other stuff .It -rudolf -.Aq net...@eq.cz +.An rudolf +.Aq Mt net...@eq.cz provided minor compile fixes and a CGI content map fix .It -Steve Rumble -.Aq rum...@ephemeral.org +.An Steve Rumble +.Aq Mt rum...@ephemeral.org provided the .Fl V option. .It -Thor Lancelot Simon -.Aq t...@netbsd.org +.An Thor Lancelot Simon +.Aq Mt t...@netbsd.org enhanced cgi-bin support. .It -Joerg Sonnenberger -.Aq jo...@netbsd.org +.An Joerg Sonnenberger +.Aq Mt jo...@netbsd.org implemented If-Modified-Since support .It -ISIHARA Takanori -.Aq is...@oak.dti.ne.jp +.An ISIHARA Takanori +.Aq Mt is...@oak.dti.ne.jp provided a man page fix .It -Holger Weiss -.Aq hol...@cis.fu-berlin.de +.An Holger Weiss +.Aq Mt hol...@cis.fu-berlin.de provided http authorisation fixes .It -.Aq x...@kittenz.org +.Aq Mt x...@kittenz.org provided chroot and change-to-user support, and other various fixes .It -Coyote Point provided various CGI fixes +Coyote Point provided various CGI fixes. .It -Julio Merino added pidfile support and provided some man page fixes +.An Julio Merino +added pidfile support and provided some man page fixes. .El .Pp There are probably others I have forgotten (let me know if you care) @@ -659,7 +662,7 @@ There are probably others I have forgott Please send all updates to .Nm to -.Aq m...@eterna.com.au +.Aq Mt m...@eterna.com.au for inclusion in future releases. .Sh BUGS .Nm