[RESOLVED] Env['http_x_forwarded_for']

Discussion in 'Bug Reports' started by Grzegorz Derebecki, Feb 24, 2010.

  1. Grzegorz Derebecki

    Grzegorz Derebecki New Member

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

    in php lsapi all works ok.
    Last edited by a moderator: Feb 25, 2010
  2. mistwang

    mistwang LiteSpeed Staff

    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.
  3. Grzegorz Derebecki

    Grzegorz Derebecki New Member

    my foul my test proxy dont pass this varible. This bug can be closed.

Share This Page