LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > passing X-Forwarded-For to apache on another server

Reply
 
Thread Tools Display Modes
  #1  
Old 08-05-2009, 01:14 PM
tresero tresero is offline
Member
 
Join Date: Dec 2007
Posts: 10
Default passing X-Forwarded-For to apache on another server

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?
Reply With Quote
  #2  
Old 08-05-2009, 01:17 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
http://www.litespeedtech.com/docs/we...pInProxyHeader
Reply With Quote
  #3  
Old 08-05-2009, 01:20 PM
tresero tresero is offline
Member
 
Join Date: Dec 2007
Posts: 10
LiteSpeed is the proxy to the apache servers. I don't think this applies.
Reply With Quote
  #4  
Old 08-05-2009, 01:22 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
It is not our problem then.
Reply With Quote
  #5  
Old 08-05-2009, 01:26 PM
tresero tresero is offline
Member
 
Join Date: Dec 2007
Posts: 10
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.
Reply With Quote
  #6  
Old 08-06-2009, 10:34 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
I think you need to update to 4.0.x release.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:41 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.