CHANGES revision 1.1
1$eterna: CHANGES,v 1.52 2006/05/17 08:38:49 mrg Exp $
2
3changes since bozohttpd 20050410:
4	o  don't allow "/.." or "../" files
5	o  don't write ":80" into urls for the http port
6	o  fix a fd leak when fork() fails
7	o  make directory indexing mode not look so ugly
8	o  build a text version of the manual page
9	o  make "make clean" work properly
10
11changes since bozohttpd 20040808:
12	o  fix some off-by-one errors from <roland.illig@gmx.de>
13	o  properly support nph- CGI
14	o  make content maps case insensitive
15	o  fix proto header merging to include the missing comma
16	o  major source reorganisation; most features are in separate files now
17	o  new -V flag that makes unknown virtualhosts use slashdir
18	   from <rumble@ephemeral.org>
19	o  HTTP/1.x protocol headers are now properly merged for CGI
20
21changes since bozohttpd 20040218:
22	o  CGI status is now properly handled (-a flag has been removed)
23	o  CGI file upload support works
24	o  %xy translations are no longer ever applied after the first '?',
25	   ala RFC2396.  from lukem
26	o  daemon mode (-b) should no longer hang spinning forever if it
27	   sees no children.  from lukem
28	o  new .bzabsredirect file support. from <martin@netbsd.org>
29	o  return a 404 error if we see %00 or %2f (/)
30	o  don't print 2 "200" headers for CGI
31	o  support .torrent files
32
33changes since bozohttpd 20031005:
34	o  new .bzredirect file support for sane directory redirection
35	o  new -Z option that enables SSL mode, from <rtr@eterna.com.au>
36	o  the -C option has been changed to take two explicit options, rather
37	   than a single option with a space separating the suffix and the
38	   interpreter.  ``-C ".foo /path/to/bar"'' should now be written
39	   as ``-C .foo /path/to/bar''
40	o  the -M option has been changed like -C and no longer requires or
41	   supports a single argument with space-separated options
42	o  with -a, still print the 200 OK.  from <rtr@eterna.com.au>
43	o  with -r, if a .bzdirect file appears in a directory, allow direct
44	   access to this directory
45
46changes since bozohttpd 20030626:
47	o  fixes for basic authorisation.  from <ecu@ipv42.net>
48	o  always display file size in directory index mode
49	o  add .xbel, .xml & .xsl -> text/xml mappings.  from
50	   <wiz@danbala.ifoer.tuwien.ac.at>
51
52changes since bozohttpd 20030409:
53	o  fix a recent core dump when given no input
54	o  add new -r flag that ensures referrer is set to this host
55	o  fix several compile time errors with -DNO_CGIBIN_SUPPORT
56	o  fix some man page details. from lukem@wasabisystems.com
57	o  re-add a missing memset(), fixing a core dump. from lukem
58	o  support HTTP basic authorisation, disabled by default.  from lukem
59	o  print the port number in redirects and errors. from lukem
60	o  only syslog the basename of the program. from lukem
61	o  add __attribute__() format checking. from lukem
62	o  fix cgibin SCRIPT_NAME to have a leading /.  from zakj@nox.cx
63	o  simplify some code in -C to avoid a core dump.  from lukem
64	o  add a .css -> css/text entry to the content_map[].  from zakj@nox.cx
65
66changes since bozohttpd 20030313:
67	o  -d without DEBUG enabled only prints one warning and continues
68	o  one can now define the C macro SERVER_SOFTWARE when building to
69	   change the Server: header and CGI variable of the same name
70	o  add new -s flag the force logging output to stderr. from zakj@nox.cx
71	o  add new -a flag for CGI bin that stops bozohttpd from outputting
72	   any HTTP reply, the CGI program must output these.  from zakj@nox.cx
73	o  new REQUEST_URI and DATE_GMT environment variables for CGI.  from
74	   zakj@nox.cx
75	o  add a "Makefile.boot" that should work with any make program
76	o  build on linux again
77	o  fix core dumps when using -C
78
79changes since bozohttpd 20021106:
80	o  deprecate -r flag; make this the default and silently ignore -r now
81	o  add support for file extentions to call CGI programs (from lukem)
82	o  add dynamic support to add new content map entries, allowing both
83	   new file types and non /cgi-bin CGI programs to be run with the
84	   new -C "suffix cgihandler" and -M "suffix type encoding encoding11"
85	   options
86	o  in -b mode, set the http date after accept() returns, not before we
87	   call accept()
88	o  in -b mode, bind all addresses found not just the first one
89	o  unsupport old hostname API
90	o  in -b mode, set the SO_REUSEADDR socket option (lukem)
91	o  allow -x (index.html) mode to work with CGI handlers
92
93changes since bozohttpd 5.15 (20020913):
94	o  add .bz2 support
95	o  properly escape <, > and & in error messages, partly from
96	   Nicolas Jombart <ecu@mariejeanne.net>
97	o  new -H flag to hide .* files in directory index mode
98	o  fix buffer reallocation when parsing a request, to avoid
99	   overflowing the buffer with carriage returns (\r)
100	o  do not decode "%XY"-style cgi-bin data beyond the "?"
101
102changes since bozohttpd 5.14 (20020823):
103	o  add .ogg support -> `application/x-ogg'
104	o  fix CGI requests with "/" in the query part
105
106changes since bozohttpd 5.13 (20020804):
107	o  allow -X mode to work for "/"
108	o  work on systems without MADV_SEQUENTIAL
109	o  make a local cut-down copy of "queue.h" (fixes linux & solaris
110	   support at the very least)
111	o  portability fixes for pre-ipv6 socket api systems (eg, solaris 7)
112	o  portability fixes for missing _PATH_DEFPATH, LOG_FTP and __progname
113	o  better documentation on virtual host support
114
115changes since bozohttpd 5.12 (20020803):
116	o  support .mp3 files (type audio/mpeg)
117	o  use stat() to find out if something is a directory, for -X mode
118
119changes since bozohttpd 5.11 (20020730):
120	o  constification
121	o  fixes & enhancements for directory index mode (-X)
122
123changes since bozohttpd 5.10 (20020710):
124	o  more man page fixes from Thomas Klausner
125	   <wiz@danbala.ifoer.tuwien.ac.at>
126	o  de-K&R C-ification
127	o  fix Date: header for daemon mode
128	o  fix core dump when asking for /cgi-bin/ when CGI isn't configured
129	o  use a valid Server: header
130
131changes since bozohttpd 5.09 (20010922):
132	- add freebsd support 
133	- fix a couple of header typos
134	- many cgi-bin fixes from lukem@netbsd.org
135	- add -T chrootdir and -U user, plus several minor other cleanups
136	with signals and return values.  from xs@kittenz.org
137	- add -e that does not clear the environment for -T/-U
138	- fix a formatting error noticed by ISIHARA Takanori <ishit@oak.dti.ne.jp>
139
140changes since bozohttpd 5.08 (20010812):
141	- add a daemon mode
142	- document how to use bozohttpd in netbsd inetd with more than 40 
143	connections per minute and also with cgibin
144	- man page fixes from wiz@netbsd.org
145
146changes since bozohttpd 5.07 (20010610):
147	- add directory index generation support (-X) from ad@netbsd.org
148	- add .pa as an alias for .pac
149	- make server software version configurable (RFC)
150
151changes since bozohttpd 5.06 (20000825):
152	- add .png support 
153	- new "-x index.html" flag to change default file
154	- new "-p public_html" flag to change default ~user directory
155	- fixes cgi-bin support and more from chuck@research.att.com
156	- add many new content-types, now support most common ones
157
158changes since bozohttpd 5.05 (20000815):
159	- add IPv6 suppor from itojun@iijlab.net
160	- man page fixes from jlam@netbsd.org
161
162changes since bozohttpd 5.04 (20000427):
163	- fix a virtual host bug, from kleink@netbsd.org
164
165changes since bozohttpd 5.03 (20000427):
166	- fix virtual host support; URI takes precedence over Host:
167
168changes since bozohttpd 5.02 (20000426):
169	- fix a bug with chdir() 
170
171changes since bozohttpd 5.01 (20000421):
172	- .pac spport from simonb
173
174changes since bozohttpd 5.00 (19990519):
175	- .swf support 
176	- virtual hosting support 
177
178