passing X-Forwarded-For to apache on another server

Discussion in 'Install/Configuration' started by tresero, Aug 5, 2009.

  1. tresero

    tresero Member

    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?
  2. mistwang

    mistwang LiteSpeed Staff

  3. tresero

    tresero Member

    LiteSpeed is the proxy to the apache servers. I don't think this applies.
  4. mistwang

    mistwang LiteSpeed Staff

    It is not our problem then. :)
  5. tresero

    tresero Member

    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.
  6. mistwang

    mistwang LiteSpeed Staff

    I think you need to update to 4.0.x release.

Share This Page