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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Logging the correct client IP when using a http load balancer

Reply
 
Thread Tools Display Modes
  #1  
Old 12-27-2006, 03:39 PM
philwo philwo is offline
Member
 
Join Date: Aug 2006
Posts: 14
Question Logging the correct client IP when using a http load balancer

Hello,

I have a problem with my setup and don't know if there is a way to correctly configure Litespeed to do what I want. :-) I have a http load balancer (IP 10.0.3.1) running the software "pound" sitting in front of Litespeed (IP 10.0.3.2). As pound acts as a kind of proxy, Litespeed thinks that all HTTP requests originate from 10.0.3.1. I know that pound tells Litespeed about the correct client IP address in a special HTTP header field, which is named X-Forwarded-For. Is there a way to tell my Litespeed server, that the correct client IP address comes from this header-field? It would be enough for the moment to correctly log the requests..

Here is a thread from the pound mailing list where someone had a similar problem with Apache: http://www.apsis.ch/pound/pound_list.../1147383685000

Thank you so much,
Philipp
Reply With Quote
  #2  
Old 12-27-2006, 03:55 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
There are work arounds with 3.0 Enterprise edition, but not available in standard, unfortunately.

Why not let pound log it?
Reply With Quote
  #3  
Old 12-27-2006, 05:26 PM
philwo philwo is offline
Member
 
Join Date: Aug 2006
Posts: 14
I have pound logging all access, but I like to have my users access to their own logfiles and more importantly to have AWstats working (which I configured with Litespeed and which works great, however it does not count correctly anymore, because of the wrong IP in the logfiles).

If there is really no workaround, I'll see if I can setup a centralized AWstats-installation which uses the pound logfile, but I guess this will not be very easy.. :-/
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 12:48 AM.



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