I need to store the remote_port in the accesslog, the docs don't provide a proper way to do this here:
Searching for remote_port the only code I find in the source:
$ grep REMOTE_PORT * -R
NEWS: * added REMOTE_PORT and SERVER_ADDR to CGI-env
src/http-header-glue.c: rc |= cb(vdata, CONST_STR_LEN("REMOTE_PORT"), buf, strlen(buf));
src/server.c: * NCAT_REMOTE_ADDR NCAT_REMOTE_PORT
So I don't think this is build in the mod_accesslog, at least I didn't find it in the source code.
Does anyone know how to do this or knows a way to do it?
Both Apache and Nginx provides it but I would like to stick to Lighttpd.
Thanks in advance.
Also available in: Atom