passing X-Forwarded-For to apache on another server

#1
I have 2 legacy apache apps that are on a different server. I thought that when I set up the proxy, X-Forwarded-For was automatically sent with LiteSpeed. I still get the local LiteSpeed address 192.168.x.x in the logs.
I have my apache logs setup as

LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined

This is killing my log reporting, but more importantly, anonymous users can't vote on polls because the logged ip is always the proxy machine.

Any help?
 
#5
Well, yes I think it is.

Does LiteSpeed pass the X-Forwarded-For to the proxied service.

Besides, use Use Client IP in Header does not show up in version 3.3.24.

I can't transfer these to litespeed because certain apache functionallity is missing. Like the ability to monitor file upload progress.
 
Top