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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > [RESOLVED] Env['http_x_forwarded_for']

Reply
 
Thread Tools Display Modes
  #1  
Old 02-23-2010, 04:00 PM
Grzegorz Derebecki Grzegorz Derebecki is offline
Senior Member
 
Join Date: Jun 2007
Posts: 92
Default [RESOLVED] Env['http_x_forwarded_for']

Litespeed don't set HTTP_X_FORWARDED_FOR varible in ENV (ruby lsapi 4.0)

in php lsapi all works ok.

Last edited by NiteWave; 02-24-2010 at 05:40 PM..
Reply With Quote
  #2  
Old 02-23-2010, 09:51 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Can you dump the entire ENV hash array?
It should be set if it is in the request header.
ENV has been replaced with a hash table during LSAPI initialization, all request headers should have been added to the hash table.
Reply With Quote
  #3  
Old 02-24-2010, 04:07 PM
Grzegorz Derebecki Grzegorz Derebecki is offline
Senior Member
 
Join Date: Jun 2007
Posts: 92
Quote:
Originally Posted by mistwang View Post
Can you dump the entire ENV hash array?
It should be set if it is in the request header.
ENV has been replaced with a hash table during LSAPI initialization, all request headers should have been added to the hash table.
my foul my test proxy dont pass this varible. This bug can be closed.
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 01:47 AM.



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