https://gitlab.synchro.net/main/sbbs/-/commit/3787311d4144152d80bd354b
Modified Files:
src/sbbs3/sbbs_ini.c src/sbbs3/scfg/scfgsrvr.c src/sbbs3/websrvr.cpp websrvr.h
Log Message:
Support optional custom http access log msg format
Enabled by setting sbbs.ini [web] CustomLogFormat or SCFG->Servers->Web-> Access Log Format. The supported Apache Custom Log Format directives are:
%% The percent sign.
%a Client IP address of the request
%B Size of response in bytes, excluding HTTP headers.
%b Size of response in bytes, excluding HTTP headers. In CLF format
%h Remote hostname or IP address
%H The request protocol.
%l Remote logname (from identd, if supplied).
%r First line of request.
%s Status.
%t Time the request was received, in the format [18/Sep/2011:19:18:28 -0400]
%u Remote user if the request was authenticated.
%v The canonical ServerName of the server serving the request. (the vhost) %{remote}p the client's actual port
%{Referer}i the HTTP Referer [sic] header line
%{User-agent}i the HTTP User-agent header line
For reference:
https://httpd.apache.org/docs/current/mod/mod_log_config.html
This fixes issue #1064 - feedback appreciated
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net