head 1.21; access; symbols pkgsrc-2020Q3:1.20.0.54 pkgsrc-2020Q3-base:1.20 pkgsrc-2020Q2:1.20.0.50 pkgsrc-2020Q2-base:1.20 pkgsrc-2020Q1:1.20.0.30 pkgsrc-2020Q1-base:1.20 pkgsrc-2019Q4:1.20.0.52 pkgsrc-2019Q4-base:1.20 pkgsrc-2019Q3:1.20.0.48 pkgsrc-2019Q3-base:1.20 pkgsrc-2019Q2:1.20.0.46 pkgsrc-2019Q2-base:1.20 pkgsrc-2019Q1:1.20.0.44 pkgsrc-2019Q1-base:1.20 pkgsrc-2018Q4:1.20.0.42 pkgsrc-2018Q4-base:1.20 pkgsrc-2018Q3:1.20.0.40 pkgsrc-2018Q3-base:1.20 pkgsrc-2018Q2:1.20.0.38 pkgsrc-2018Q2-base:1.20 pkgsrc-2018Q1:1.20.0.36 pkgsrc-2018Q1-base:1.20 pkgsrc-2017Q4:1.20.0.34 pkgsrc-2017Q4-base:1.20 pkgsrc-2017Q3:1.20.0.32 pkgsrc-2017Q3-base:1.20 pkgsrc-2017Q2:1.20.0.28 pkgsrc-2017Q2-base:1.20 pkgsrc-2017Q1:1.20.0.26 pkgsrc-2017Q1-base:1.20 pkgsrc-2016Q4:1.20.0.24 pkgsrc-2016Q4-base:1.20 pkgsrc-2016Q3:1.20.0.22 pkgsrc-2016Q3-base:1.20 pkgsrc-2016Q2:1.20.0.20 pkgsrc-2016Q2-base:1.20 pkgsrc-2016Q1:1.20.0.18 pkgsrc-2016Q1-base:1.20 pkgsrc-2015Q4:1.20.0.16 pkgsrc-2015Q4-base:1.20 pkgsrc-2015Q3:1.20.0.14 pkgsrc-2015Q3-base:1.20 pkgsrc-2015Q2:1.20.0.12 pkgsrc-2015Q2-base:1.20 pkgsrc-2015Q1:1.20.0.10 pkgsrc-2015Q1-base:1.20 pkgsrc-2014Q4:1.20.0.8 pkgsrc-2014Q4-base:1.20 pkgsrc-2014Q3:1.20.0.6 pkgsrc-2014Q3-base:1.20 pkgsrc-2014Q2:1.20.0.4 pkgsrc-2014Q2-base:1.20 pkgsrc-2014Q1:1.20.0.2 pkgsrc-2014Q1-base:1.20 pkgsrc-2013Q4:1.19.0.30 pkgsrc-2013Q4-base:1.19 pkgsrc-2013Q3:1.19.0.28 pkgsrc-2013Q3-base:1.19 pkgsrc-2013Q2:1.19.0.26 pkgsrc-2013Q2-base:1.19 pkgsrc-2013Q1:1.19.0.24 pkgsrc-2013Q1-base:1.19 pkgsrc-2012Q4:1.19.0.22 pkgsrc-2012Q4-base:1.19 pkgsrc-2012Q3:1.19.0.20 pkgsrc-2012Q3-base:1.19 pkgsrc-2012Q2:1.19.0.18 pkgsrc-2012Q2-base:1.19 pkgsrc-2012Q1:1.19.0.16 pkgsrc-2012Q1-base:1.19 pkgsrc-2011Q4:1.19.0.14 pkgsrc-2011Q4-base:1.19 pkgsrc-2011Q3:1.19.0.12 pkgsrc-2011Q3-base:1.19 pkgsrc-2011Q2:1.19.0.10 pkgsrc-2011Q2-base:1.19 pkgsrc-2011Q1:1.19.0.8 pkgsrc-2011Q1-base:1.19 pkgsrc-2010Q4:1.19.0.6 pkgsrc-2010Q4-base:1.19 pkgsrc-2010Q3:1.19.0.4 pkgsrc-2010Q3-base:1.19 pkgsrc-2010Q2:1.19.0.2 pkgsrc-2010Q2-base:1.19 pkgsrc-2010Q1:1.17.0.26 pkgsrc-2010Q1-base:1.17 pkgsrc-2009Q4:1.17.0.24 pkgsrc-2009Q4-base:1.17 pkgsrc-2009Q3:1.17.0.22 pkgsrc-2009Q3-base:1.17 pkgsrc-2009Q2:1.17.0.20 pkgsrc-2009Q2-base:1.17 pkgsrc-2009Q1:1.17.0.18 pkgsrc-2009Q1-base:1.17 pkgsrc-2008Q4:1.17.0.16 pkgsrc-2008Q4-base:1.17 pkgsrc-2008Q3:1.17.0.14 pkgsrc-2008Q3-base:1.17 cube-native-xorg:1.17.0.12 cube-native-xorg-base:1.17 pkgsrc-2008Q2:1.17.0.10 pkgsrc-2008Q2-base:1.17 cwrapper:1.17.0.8 pkgsrc-2008Q1:1.17.0.6 pkgsrc-2008Q1-base:1.17 pkgsrc-2007Q4:1.17.0.4 pkgsrc-2007Q4-base:1.17 pkgsrc-2007Q3:1.17.0.2 pkgsrc-2007Q3-base:1.17 pkgsrc-2007Q2:1.16.0.24 pkgsrc-2007Q2-base:1.16 pkgsrc-2007Q1:1.16.0.22 pkgsrc-2007Q1-base:1.16 pkgsrc-2006Q4:1.16.0.20 pkgsrc-2006Q4-base:1.16 pkgsrc-2006Q3:1.16.0.18 pkgsrc-2006Q3-base:1.16 pkgsrc-2006Q2:1.16.0.16 pkgsrc-2006Q2-base:1.16 pkgsrc-2006Q1:1.16.0.14 pkgsrc-2006Q1-base:1.16 pkgsrc-2005Q4:1.16.0.12 pkgsrc-2005Q4-base:1.16 pkgsrc-2005Q3:1.16.0.10 pkgsrc-2005Q3-base:1.16 pkgsrc-2005Q2:1.16.0.8 pkgsrc-2005Q2-base:1.16 pkgsrc-2005Q1:1.16.0.6 pkgsrc-2005Q1-base:1.16 pkgsrc-2004Q4:1.16.0.4 pkgsrc-2004Q4-base:1.16 pkgsrc-2004Q3:1.16.0.2 pkgsrc-2004Q3-base:1.16 pkgsrc-2004Q2:1.15.0.2 pkgsrc-2004Q2-base:1.15 pkgsrc-2004Q1:1.13.0.4 pkgsrc-2004Q1-base:1.13 pkgsrc-2003Q4:1.13.0.2 pkgsrc-2003Q4-base:1.13 netbsd-1-6:1.10.0.6 netbsd-1-6-RELEASE-base:1.10 pkgviews:1.10.0.2 pkgviews-base:1.10 buildlink2:1.8.0.2 buildlink2-base:1.11 netbsd-1-5-PATCH003:1.8 netbsd-1-5-PATCH001:1.6 netbsd-1-5-RELEASE:1.6 netbsd-1-4-PATCH003:1.6 netbsd-1-4-PATCH002:1.1 comdex-fall-1999:1.1 netbsd-1-4-PATCH001:1.1; locks; strict; comment @# @; 1.21 date 2020.10.15.04.42.06; author mrg; state dead; branches; next 1.20; commitid LZjRZGdMj9liiXrC; 1.20 date 2014.01.02.09.02.22; author mrg; state Exp; branches; next 1.19; commitid Ldj1kHvnToD4owjx; 1.19 date 2010.05.10.14.58.21; author mrg; state Exp; branches; next 1.18; 1.18 date 2010.05.10.03.42.18; author mrg; state Exp; branches; next 1.17; 1.17 date 2007.09.08.01.44.52; author jlam; state Exp; branches; next 1.16; 1.16 date 2004.08.20.03.06.38; author mrg; state dead; branches; next 1.15; 1.15 date 2004.03.28.21.24.12; author martin; state Exp; branches; next 1.14; 1.14 date 2004.03.28.20.52.00; author martin; state Exp; branches; next 1.13; 1.13 date 2002.09.09.17.13.35; author jlam; state dead; branches; next 1.12; 1.12 date 2002.08.25.21.52.01; author jlam; state Exp; branches; next 1.11; 1.11 date 2002.08.23.08.37.25; author mrg; state Exp; branches; next 1.10; 1.10 date 2002.07.10.10.48.04; author mrg; state Exp; branches; next 1.9; 1.9 date 2002.06.26.10.53.33; author lukem; state Exp; branches; next 1.8; 1.8 date 2001.12.14.16.26.03; author mrg; state Exp; branches 1.8.2.1; next 1.7; 1.7 date 2001.09.10.17.23.47; author wiz; state Exp; branches; next 1.6; 1.6 date 2000.08.31.12.12.59; author itojun; state Exp; branches; next 1.5; 1.5 date 2000.08.27.09.04.31; author itojun; state Exp; branches; next 1.4; 1.4 date 2000.08.23.12.24.42; author jlam; state Exp; branches; next 1.3; 1.3 date 2000.08.05.10.01.06; author jlam; state Exp; branches; next 1.2; 1.2 date 2000.04.27.07.29.37; author mrg; state dead; branches; next 1.1; 1.1 date 99.06.08.14.40.52; author mrg; state Exp; branches; next ; 1.8.2.1 date 2002.08.25.21.22.18; author jlam; state Exp; branches; next ; desc @@ 1.21 log @update to bozohttpd 20201014. changes include: o also set -D_GNU_SOURCE in Makefile.boot. from hadrien.lacour@@posteo.net. o fix array size botch (assertion, not exploitable.) from martin@@netbsd.org. o also match %2F as well as %2f. from leah@@vuxu.org. o many manual and help fixes. clean ups for higher lint levels, consistency/style clean ups. various option fixes including made -f imply -b. from for freebsd. o add .m4a and .m4v file extensions. o make this work on sun2 by reducing mmap window there. o fix SSL shutdown sequence. from spz@@netbsd.org. o add readme support to directory indexing. from jmcneill@@netbsd.org o add blocklist(8) support. from jruoho@@netbsd.org. @ text @$NetBSD: patch-ab,v 1.20 2014/01/02 09:02:22 mrg Exp $ --- Makefile.boot.orig 2014-01-01 23:59:54.000000000 -0800 +++ Makefile.boot 2014-01-02 00:02:15.000000000 -0800 @@@@ -5,7 +5,9 @@@@ CC= cc OPT= -O +OPT= LARGE_CFLAGS= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +LARGE_CFLAGS= LOCAL_CFLAGS= -DNO_LUA_SUPPORT CFLAGS= $(OPT) $(LARGE_CFLAGS) $(LOCAL_CFLAGS) @ 1.20 log @update to bozohttpd 20140102. changes include: o update a few content types o add support for directly calling lua scripts to handle processes, from mbalmer@@netbsd.org o properly escape generated HTML o add authentication for redirections, from martin@@netbsd.org o handle chained ssl certifications, from elric@@netbsd.org o add basic support for gzipped files, from elric@@netbsd.org o properly escape generated URIs XXX: could integrate this with lua, but left undone for now. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.19 2010/05/10 14:58:21 mrg Exp $ @ 1.19 log @update this to bozohttpd 20100510. there's no real change here except some compile fixes that aren't relevant for the pkgsrc (but probably should be...) @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.18 2010/05/10 03:42:18 mrg Exp $ d3 3 a5 4 --- Makefile.boot.orig 2010-05-09 19:24:30.000000000 -0700 +++ Makefile.boot 2010-05-09 20:12:09.000000000 -0700 @@@@ -4,7 +4,6 @@@@ # see Makefile for a list of compile options that may be placed in CFLAGS. d8 6 a13 1 -CFLAGS= -O -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 a14 2 GROFF= groff -Tascii CRYPTOLIBDIR= # -L/usr/local/lib @ 1.18 log @import bozohttpd 20100509. it has these changes: o major rework and clean up of internal interfaces. move the main program into main.c, the remaining parts are useable as library. add bindings for lua. by Alistair G. Crooks o fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566325 special thanks to al for the majority of these changes. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.17 2007/09/08 01:44:52 jlam Exp $ d9 1 a9 1 -CFLAGS= -O a12 9 @@@@ -14,7 +13,7 @@@@ dir-index-bozo.c ssl-bozo.c tilde-luzah-bozo.c main.c all: - $(CC) $(CFLAGS) -o bozohttpd $(FILES) $(CRYPTOLIBS) + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o bozohttpd $(FILES) $(CRYPTOLIBS) man: $(GROFF) -mandoc bozohttpd.8 > bozohttpd.cat8 @ 1.17 log @* Use Makefile.boot instead of Makefile so that we don't need BSD make to build bozohttpd. * Use a custom do-install target to install the binary and the manpage. * Replace the pre-build target with a subst framework class. Bump the PKGREVISION to 1 now that we no longer build or install the catman page. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- Makefile.boot.orig Tue Sep 27 20:09:20 2005 +++ Makefile.boot d13 2 a14 2 @@@@ -14,7 +13,7 @@@@ FILES= bozohttpd.c auth-bozo.c cgi-bozo. dir-index-bozo.c ssl-bozo.c tilde-luzah-bozo.c @ 1.16 log @update to bozohttpd 20040808. changes since previous version (many already in pkgsrc) include: o CGI status is now properly handled (-a flag has been removed) o CGI file upload support works o %xy translations are no longer ever applied after the first '?', ala RFC2396. from lukem o daemon mode (-b) should no longer hang spinning forever if it sees no children. from lukem o new .bzabsredirect file support. from o return a 404 error if we see %00 or %2f (/) o don't print 2 "200" headers for CGI o support .torrent files @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.15 2004/03/28 21:24:12 martin Exp $ d3 19 a21 25 --- bozohttpd.8.orig 2004-02-18 14:25:39.000000000 +0100 +++ bozohttpd.8 2004-03-28 23:20:36.000000000 +0200 @@@@ -26,7 +26,7 @@@@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd February 18, 2004 +.Dd March 28, 2004 .Dt BOZOHTTPD 8 .Os BOZOS .Sh NAME @@@@ -366,6 +366,13 @@@@ symbolic link is found, .Nm will perform a smart redirect to the target of this symlink. +The target is assumed to live on the same server. +If a +.Pa .bzabsredirect +symbolic link is found, +.Nm +will redirect to the absolute url pointed to by this symlink. +This is useful to redirect to different servers. .Sh SSL SUPPORT .Nm has support for SSLv2, SSLv3, and TLSv1 protocols that is included by @ 1.15 log @New sentence, new line + spelling fixes. Belatedly bump pkgrevision for absolute redirects. Pointed out by wiz. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.14 2004/03/28 20:52:00 martin Exp $ @ 1.14 log @Fix http headers for cgi scripts (from tyler). Add absolute redirects via .bzabsredirect symbolic links. @ text @d1 1 a1 1 $NetBSD$ d4 11 a14 3 +++ bozohttpd.8 2004-03-28 22:31:05.000000000 +0200 @@@@ -365,7 +365,13 @@@@ .Pa .bzredirect d17 3 a19 3 -will perform a smart redirect to the target of this symlink. +will perform a smart redirect to the target of this symlink. The target is +assumed to live on the same server. If a d23 2 a24 2 +will redirect to the absolute url pointed to by this symlink. This is usefull +to redirect to different servers. @ 1.13 log @Directly replace the "/usr/pkg" reference in the man page with "${PREFIX}" in the package Makefile in one step instead of three. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.12 2002/08/25 21:52:01 jlam Exp $ d3 17 a19 22 --- bozohttpd.8.in.orig Fri Aug 23 15:43:44 2002 +++ bozohttpd.8.in Fri Aug 23 15:48:04 2002 @@@@ -197,8 +197,8 @@@@ .Xr inetd.conf 5 entry would be: .Bd -literal -www stream tcp nowait:600 httpd /usr/pkg/libexec/bozohttpd bozohttpd /var/www -www stream tcp6 nowait:600 httpd /usr/pkg/libexec/bozohttpd bozohttpd /var/www +www stream tcp nowait:600 httpd @@PREFIX@@/libexec/bozohttpd bozohttpd /var/www +www stream tcp6 nowait:600 httpd @@PREFIX@@/libexec/bozohttpd bozohttpd /var/www .Ed .Pp This would serve web pages from @@@@ -218,7 +218,7 @@@@ .Pp To configure set of virtual hosts, one would use an entry like: .Bd -literal -www stream tcp nowait:600 httpd /usr/pkg/libexec/bozohttpd bozohttpd -v /var/vroot /var/www +www stream tcp nowait:600 httpd @@PREFIX@@/libexec/bozohttpd bozohttpd -v /var/vroot /var/www .Ed .Pp and inside @ 1.12 log @Merge packages from the buildlink2 branch back into the main trunk that have been converted to USE_BUILDLINK2. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.8.2.1 2002/08/25 21:22:18 jlam Exp $ @ 1.11 log @update to bozohttpd 5.14. changes include: o allow -X mode to work for "/" o work on systems without MADV_SEQUENTIAL o make a local cut-down copy of "queue.h" (fixes linux & solaris support at the very least) o portability fixes for pre-ipv6 socket api systems (eg, solaris 7) o portability fixes for missing _PATH_DEFPATH, LOG_FTP and __progname o better documentation on virtual host support @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.10 2002/07/10 10:48:04 mrg Exp $ @ 1.10 log @update to bozohttpd 5.10. changes include: - many man pages and updates - freebsd support - cgi-bin fixes - improved logging - builtin chroot support @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.9 2002/06/26 10:53:33 lukem Exp $ d3 3 a5 3 --- bozohttpd.8.in.orig Sat Sep 22 20:10:00 2001 +++ bozohttpd.8.in @@@@ -172,8 +169,8 @@@@ d16 9 @ 1.9 log @+ ensure that ${SCRIPT_NAME} contains full path of script (previously the leading "cgi-bin/" was stripped) + convert '-' to '_' in ${HTTP_xxx} environment variable names, and ensure that the names are NUL terminated + lookup addr, host (unless -n) and port for every request, not just cgi requests, and log the host & port in "got request ..." message + fix -n to work as documented; set it to *prevent* addr->name lookups + document -n is useful even without -c + don't deref NULL pointers in printf %s + be consistent about stripping leading `/' from command + clean up how "cgi-bin/" prefix is hardcoded in + fix -Wall compile issues + bump package revision @ text @d1 1 a1 1 $NetBSD$ a4 12 @@@@ -99,10 +99,7 @@@@ .Nm from doing IP address to name resolution of hosts for setting the .Ev REMOTE_HOST -variable before running a CGI program. This option has no effect -without the -.Fl c -option. +variable before running a CGI program. .It Fl r This option causes .Nm @ 1.8 log @update to bozohttpd 5.09. changes include... um, i forget. it can now run in a daemon mode at the very least... (ie, no longer inetd or some other daemon starter dependant) @ text @d4 14 a17 2 +++ bozohttpd.8.in Sat Dec 15 03:15:41 2001 @@@@ -172,8 +172,8 @@@@ @ 1.8.2.1 log @Merge changes in the main trunk into the buildlink2 branch for those packages that have been converted to USE_BUILDLINK2. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.11 2002/08/23 08:37:25 mrg Exp $ d3 3 a5 3 --- bozohttpd.8.in.orig Fri Aug 23 15:43:44 2002 +++ bozohttpd.8.in Fri Aug 23 15:48:04 2002 @@@@ -197,8 +197,8 @@@@ a15 9 @@@@ -218,7 +218,7 @@@@ .Pp To configure set of virtual hosts, one would use an entry like: .Bd -literal -www stream tcp nowait:600 httpd /usr/pkg/libexec/bozohttpd bozohttpd -v /var/vroot /var/www +www stream tcp nowait:600 httpd @@PREFIX@@/libexec/bozohttpd bozohttpd -v /var/vroot /var/www .Ed .Pp and inside @ 1.7 log @Man page fixes. @ text @d3 3 a5 13 --- bozohttpd.8.in.orig Fri Aug 10 08:43:16 2001 +++ bozohttpd.8.in @@@@ -44,7 +44,7 @@@@ .Sh DESCRIPTION The .Nm -program reads a +program reads an .Em HTTP request from the standard input, and sends a reply to the standard output. Besides ~user translation and virtual @@@@ -130,12 +130,15 @@@@ on the command line with little change of functionality.) A typical d8 6 a13 5 -.Dl www stream tcp nowait httpd /usr/pkg/libexec/httpd httpd /var/www +.Bd -literal +www stream tcp nowait httpd @@PREFIX@@/libexec/bozohttpd bozohttpd /var/www +www stream tcp6 nowait httpd @@PREFIX@@/libexec/bozohttpd bozohttpd /var/www +.Ed d15 1 a15 34 Using the .Nx .Xr inetd 8 , -you can provide multiple IP-address based HTTP servers by having mulitple +you can provide multiple IP-address based HTTP servers by having multiple listening ports with different configurations. .Sh NOTES This server supports the @@@@ -158,10 +161,10 @@@@ program was first written in perl, based on another perl http server called .Dq tinyhttpd . -It was then rewritten from scratch in perl, and then once again in C. +It was then rewritten from scratch in perl, and then once again in C. This version documents .Nm -version 5.07. +version 5.08. .Sh AUTHOR The .Nm @@@@ -176,10 +179,10 @@@@ .Aq ad@@netbsd.org . .Sh BUGS .Nm -only know about the file types built in to the program. This means it +only knows about the file types built into the program. This means it either needs a large embedded list of file extensions to types, or needs to use a configuration file with this. Currently, only a reasonable sized embedded list is used, that supports the most common files. .Sh SEE ALSO .Xr inetd.conf 5 , -.Xr inetd 8 . +.Xr inetd 8 @ 1.6 log @in bozohttpd.8, honor PREFIX. also, use "bozohttpd" instead of "httpd" to sync with reality. @ text @d2 15 a16 3 --- bozohttpd.8.in.orig Fri Aug 25 03:17:05 2000 +++ bozohttpd.8.in Thu Aug 31 05:08:12 2000 @@@@ -112,3 +112,6 @@@@ d24 34 @ 1.5 log @upgrade to 5.06. 5.06 integrates IPv6 patch to 5.05. @ text @d2 3 a4 3 --- bozohttpd.8.orig Fri Aug 25 03:17:05 2000 +++ bozohttpd.8 Sun Aug 27 02:02:10 2000 @@@@ -112,3 +112,4 @@@@ d7 4 a10 2 +.Dl www stream tcp nowait httpd /usr/pkg/libexec/httpd httpd /var/www +.Dl www stream tcp6 nowait httpd /usr/pkg/libexec/httpd httpd /var/www @ 1.4 log @Add itojun's patch for IPv6 support @ text @d2 3 a4 23 --- bozohttpd.8.orig Tue May 23 03:14:38 2000 +++ bozohttpd.8 @@@@ -59,7 +59,7 @@@@ The following options are available: .Bl -tag -width xxxcgibin .It Fl n -This options stops +This option stops .Nm from doing IP address to name resolution of hosts for setting the .Ev REMOTE_HOST @@@@ -68,7 +68,7 @@@@ .Fl c option. .It Fl r -This options causes +This option causes .Nm to automatically redirect Uniform Resource Locators that have their trailing slash missing. The default behaviour is to send a message @@@@ -112,12 +112,13 @@@@ .Xr inetd.conf 5 d6 2 a7 1 .Dl www stream tcp nowait httpd /usr/pkg/libexec/httpd httpd /var/www a9 10 Using the .Nx .Xr inetd 8 , -you an provide multiple IP-address based HTTP servers by having mulitple -listening port with different configurations. +you can provide multiple IP-address-based HTTP servers by having multiple +listening ports with different configurations. .Sh NOTES This server supports the .Em HTTP/0.9 , @ 1.3 log @Proofread manpage a bit. @ text @d4 1 a4 1 +++ bozohttpd.8 Sat Aug 5 05:48:56 2000 d23 6 a28 1 @@@@ -116,8 +116,8 @@@@ @ 1.2 log @update to bozohttpd 5.04. this fixes a couple of bugs, and adds virtual hosting support. and a few more content-types, too.. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 1999/06/08 14:40:52 mrg Exp $ d3 31 a33 13 Index: bozohttpd.c *** bozohttpd.c 1999/05/19 00:31:17 1.7 --- bozohttpd.c 1999/06/08 08:37:19 *************** static struct content_map { *** 1152,1157 **** --- 1152,1158 ---- { ".gif", "image/gif", "", "", }, { ".jpeg", "image/jpeg", "", "", }, { ".jpg", "image/jpeg", "", "", }, + { ".png", "image/png", "", "", }, { ".tar", "multipart/x-tar", "", "", }, { ".tar.Z", "multipart/x-tar", "x-compress", "compress", }, { ".tar.gz", "multipart/x-tar", "x-gzip", "gzip", }, @ 1.1 log @.png support. @ text @d1 1 a1 1 $NetBSD$ @