Project

General

Profile

Actions

Feature #2840

closed

accesslog.format remote_port

Added by FilipeCifali over 6 years ago. Updated over 6 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_accesslog
Target version:
ASK QUESTIONS IN Forums:

Description

Hi,

I need to store the remote_port in the accesslog, the docs don't provide a proper way to do this here:

https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAccesslog

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.

Actions #1

Updated by gstrauss over 6 years ago

  • Status changed from New to Patch Pending
  • Target version changed from 1.4.x to 1.4.49
Actions #2

Updated by gstrauss over 6 years ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 0 to 100
Actions

Also available in: Atom