Re: [users@httpd] ignore/remove X-Forwarded-For

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 thanks, works fine. Do you know if I can rename a header? I was trying to do it like this

SetEnvIf X-Powered-By "(.*)" HAVE_X-Powered-By=$1
Header add X-Original-Powered-By $HAVE_X-Powered-By$ env=HAVE_X-Powered-By
Header unset X-Powered-By env=HAVE_X-Powered-By

The problem is that I don't know how to access the HAVE_X-Powered-By variable at the second line ($HAVE_X-Powered-By$).

Thanks in advance,
Tomas

> On 8/1/07, tom <pomarancde23@xxxxxxx> wrote:
> > Hi,
> >
> >  is there a way to remove the X-Forwarded-For header from the request before
> it enters some point in the request route through apache? I need this because
> the weblogic module honors the header and this is not what is needed by us.
> >
> 
> You can try
> RequestHeader unset X-Forwarded-For
> I have no idea whether that will work or not.
> 
> Joshua.
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux