From 1a7e3d00588725da3d8764fa9d624bc8611be070 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 18 Oct 2023 13:07:23 +0000 Subject: Add infrastructure for custom error files Signed-off-by: Laurent Bercot --- doc/tipidee.conf.html | 7 +++++-- doc/tipideed.html | 10 +++++----- 2 files changed, 10 insertions(+), 7 deletions(-) (limited to 'doc') diff --git a/doc/tipidee.conf.html b/doc/tipidee.conf.html index 76ffae1..483d9d0 100644 --- a/doc/tipidee.conf.html +++ b/doc/tipidee.conf.html @@ -407,9 +407,12 @@ malicious clients messing with log lines. This keyword has no effect when given without the request keyword.
resource
Log a resource line when tipideed has found a resource corresponding to the URI and is willing to serve it. The line looks like -resource docroot docroot file file type type. docroot is -the document root of the virtual host; file is the path to the served file; type +resource file type type. +file is the path to the served file; the first component of that path is always +the document root of the virtual host. type is nph for an NPH script, cgi for a CGI script, or the Content-Type for a regular file. +If it's a CGI or NPH script being called with a non-empty PATH_INFO, an additional path_info path_info +field is added to the log line. If a served CGI script outputs a local redirection, several resource lines may appear for a single request.
answer
Log an answer line when tipideed diff --git a/doc/tipideed.html b/doc/tipideed.html index 254fa2f..eebdb6d 100644 --- a/doc/tipideed.html +++ b/doc/tipideed.html @@ -120,8 +120,8 @@ underlying system.

tipideed expects the following variables in its environment, and will exit with an error message if they are undefined. When tipideed is run under -s6-tcpserver or -s6-tlsserver, +s6-tcpserver or +s6-tlsserver, these variables are automatically set by the super-server. This is the way tipidee gets its network information without having to perform network operations itself. @@ -153,11 +153,11 @@ to CGI scripts.

tipideed can function without these variables, but if they're present, it uses them to get more information. They're typically obtained by calling -s6-tcpserver-access +s6-tcpserver-access before tipideed in the -s6-tcpserver +s6-tcpserver command line. -(For HTTPS, s6-tlsserver +(For HTTPS, s6-tlsserver calls it implicitly.)

-- cgit v1.3.1