LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Bug Reports (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=9)
-   -   [RESOLVED] Env['http_x_forwarded_for'] (http://www.litespeedtech.com/support/forum/showthread.php?t=3818)

Grzegorz Derebecki 02-23-2010 04:00 PM

[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.

mistwang 02-23-2010 09:51 PM

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.

Grzegorz Derebecki 02-24-2010 04:07 PM

Quote:

Originally Posted by mistwang (Post 18794)
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.


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