thx doesnt seem to work on 2.0
its a 2.2 feature isnt it? -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Joshua Slive Gesendet: Mittwoch, 19. April 2006 18:48 An: [email protected] Betreff: Re: HTTP_X_FORWARDED_FOR in mod_proxy On 4/18/06, Matthias Behrens <[EMAIL PROTECTED]> wrote: > hi > > is there a way to overwrite the HTTP_X_FORWARDED_FOR instead of adding to > it? > > the problem is that the content of this headerline is sometimes totally > chaotic so its very difficult to parse. > other possible solutions would be: > > - to clear the HTTP_X_FORWARDED_FOR before processing the request. (dont > know how to do) or > > - using a different header / env.variable to protokoll the original > ipaddress (dont know how to do it eather) The RequestHeader directive, with or without the "early" option, may be able to clear the old X-Forwarded-For header. Otherwise, you'll need to edit the mod_proxy_http source to change the name of the header. Joshua.
