Suggestion: Optionally log X-Forwarded-For
Posted: Sat Feb 18, 2006 5:55 pm
Hi,
the apache that runs my s9y is located behind a reverse proxy. It therefore logs all access as originating from 127.0.0.1.
I would like to have an option making s9y log the IP addresses given in the X-Forwarded-For-Header of the http request instead or additional to the client IP address. Statistics should use the address from X-Forwarded-For as default, falling back to client IP if that header is not present.
the apache that runs my s9y is located behind a reverse proxy. It therefore logs all access as originating from 127.0.0.1.
I would like to have an option making s9y log the IP addresses given in the X-Forwarded-For-Header of the http request instead or additional to the client IP address. Statistics should use the address from X-Forwarded-For as default, falling back to client IP if that header is not present.