]> cat aescling's git repositories - httpd-execline.git/log
httpd-execline.git
5 years agohttp-get-extra-headers.execline: bugfix: terminate headers with \r\n
single-right-quote [Wed, 16 Sep 2020 18:52:45 +0000 (18:52 +0000)]
http-get-extra-headers.execline: bugfix: terminate headers with \r\n

embarrassing.

5 years agoupdate README for changes
single-right-quote [Fri, 11 Sep 2020 00:47:01 +0000 (00:47 +0000)]
update README for changes

note the TODO about error status pages. how did i forget that???

5 years agoreorganize configuration of resource- and domain-specific headers
single-right-quote [Thu, 10 Sep 2020 22:03:12 +0000 (22:03 +0000)]
reorganize configuration of resource- and domain-specific headers

in doing so, move so-called ”extra headers” code to a separate script

furthermore, slightly adjust the logic of http-error-response.execline

headers are now specified on a per-header basis, one file per header

5 years agobegin making visible-to-httpd/configuration/overrides generic
single-right-quote [Thu, 10 Sep 2020 21:52:46 +0000 (21:52 +0000)]
begin making visible-to-httpd/configuration/overrides generic

5 years agoisolate chroot-exclusive contents
single-right-quote [Fri, 14 Aug 2020 19:57:23 +0000 (19:57 +0000)]
isolate chroot-exclusive contents

also rename several folders in anticipation of further restructuring

as a bonus, `supported-hostname-test.execline` no longer needs special cases

5 years agointroduce custom HTTP status pages [NEEDS WORK]
single-right-quote [Thu, 13 Aug 2020 21:20:08 +0000 (17:20 -0400)]
introduce custom HTTP status pages [NEEDS WORK]

as an additional bonus, child processes of `httpd.execline` now inherit
the environment variables for the parsed start line and headers; this
allows `http-error-response.execline` to make use of the host supplied
by the client request with minimal changes.

note that `Content-Length` is currently not supplied anymore for header
responses (functional, but the HTTP/1.1 standard says you “SHOULD” use
that header); this needs fixing.

also note that `http-error-response.execline` currently forces error
status pages to use a `Content-Type` of
`application/xhtml+xml; charset=utf-8`; surely we should allow the user
to override this. (perhaps make status code *folders*, and use
constituent files `Content-Type`, perhaps `extra_headers`, and of course
`message_body`, in that directory? this interface would be less than
ideal though)

5 years agoinitial commit
single-right-quote [Tue, 11 Aug 2020 21:56:45 +0000 (17:56 -0400)]
initial commit