You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Szabolcs Balla <sz...@mail.vivara.hu> on 2009/09/16 16:40:06 UTC
[users@httpd] Apache2 header information clear/hide
Hi,
Is there any way to clear header information when I using ProxyPass and
ProxyPassReverse?
Here is ngreped info:
T xxx.xxx.xxx.xxx:46087 -> xxx.xxx.xxx.xxx:80 [AP]
GET / HTTP/1.1..Host: forwarded.domain..User-Agent: Mozilla/5.0
..Accept-Language: en-us..Accept-Encoding: gzip, deflate..Authorization:
Basic ..X-Forwarded-For: xxx.xxx.xxx.xxx.X-Forwarded-Host:
orig.domain..X-Forwarded-Server: servername..Connection: Keep-Alive....
I would like to clear X-Forwarded-For, Forwarded-Host, X-Forwarded-Server.
How can I do this?
Thanks,
Szabolcs
Re: [users@httpd] Apache2 header information clear/hide
Posted by Tom Evans <te...@googlemail.com>.
On Wed, 2009-09-16 at 16:40 +0200, Szabolcs Balla wrote:
> Hi,
>
> Is there any way to clear header information when I using ProxyPass
> and ProxyPassReverse?
> Here is ngreped info:
> T xxx.xxx.xxx.xxx:46087 -> xxx.xxx.xxx.xxx:80 [AP]
> GET / HTTP/1.1..Host: forwarded.domain..User-Agent:
> Mozilla/5.0 ..Accept-Language: en-us..Accept-Encoding: gzip,
> deflate..Authorization: Basic ..X-Forwarded-For:
> xxx.xxx.xxx.xxx.X-Forwarded-Host: orig.domain..X-Forwarded-Server:
> servername..Connection: Keep-Alive....
>
> I would like to clear X-Forwarded-For, Forwarded-Host,
> X-Forwarded-Server.
> How can I do this?
> Thanks,
> Szabolcs
http://httpd.apache.org/docs/2.2/mod/mod_headers.html#requestheader
RequestHeader unset X-Forwarded-Server
HTH
Tom
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org