RE: [users@httpd] 'Header set' with 2.2

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

 



> -----Original Message-----
> From: Germer, Carsten [mailto:carsten.germer@xxxxxxx] 
> Sent: Friday, October 27, 2006 4:43 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject: RE: [users@httpd] 'Header set' with 2.2
> 
> Hm, I don't want yet another module/external system in the 
> whole loop on
> my machines...
> Shouldnt 'Header set Server "Apache"' do the trick somehow? It sure
> reads like it in the docs.

This is referring to the headers generated by apache itself. You want to
over-write headers generated by  a back-end server when apache is acting
as a proxy. I don't think you can do this because a proxy is just
supposed to fetch content for you and pass it through without
modification.

Having said that, I'm sure there will be a third-party module somewhere
that can do this man-in-the-middle manipulation...

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 


> Anyway, I'll go snoop around our network if there isn't any other
> Firewall or LoadBalancer in the LAN which can do this for me :)
> 
> Thanks /Carsten
> 
> 
> >-----Original Message-----
> >From: Vincent Bray [mailto:noodlet@xxxxxxxxx] 
> >Sent: Friday, October 27, 2006 4:34 PM
> >To: users@xxxxxxxxxxxxxxxx
> >Subject: Re: [users@httpd] 'Header set' with 2.2
> >
> >
> >On 10/27/06, Germer, Carsten <carsten.germer@xxxxxxx> wrote:
> >> Hi,
> >> I've already set "ServerTokens Prod" in 
> >"extra/httpd-default.conf". That
> >> doesn't fix it entirelly.
> >> Still the "main" Server gives me back like "ServerTokens 
> Full" and a
> >> Proxyd answer from the application Server comes with a 
> >Server-Header of
> >> the appServer. I need them all set to look like Prod, no 
> matter where
> >> they come from...
> >
> >I suspect that apache is doing the Right Thing here with respect to
> >the rfcs. Still, you might try out mod_security. It is able to change
> >the Server: header.
> >
> >-- 
> >noodl
> >
> Hi,
> I've already set "ServerTokens Prod" in 
> "extra/httpd-default.conf". That
> doesn't fix it entirelly.
> Still the "main" Server gives me back like "ServerTokens Full" and a
> Proxyd answer from the application Server comes with a 
> Server-Header of
> the appServer. I need them all set to look like Prod, no matter where
> they come from...
> 
> Cheers /Carsten
> 
> >-----Original Message-----
> >From: Aleksandar Lazic [mailto:al-httpdusers@xxxxxxx] 
> >Sent: Thursday, October 26, 2006 7:16 PM
> >To: users@xxxxxxxxxxxxxxxx
> >Subject: Re: [users@httpd] 'Header set' with 2.2
> >
> >
> >Hi,
> >
> >On Don 26.10.2006 16:52, Germer, Carsten wrote:
> >>
> >>Anyone a good idea for me?
> >
> >Try ServerTokens Prod
> >
> >http://httpd.apache.org/docs/2.2/mod/core.html#servertokens
> >
> >Hth
> >
> >Aleks
> >
> >---------------------------------------------------------------------
> >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
> >
> >
> 
> <original>
> we use Apache 2.2 as frontend servers to serve some static content, as
> proxy and for virtual hosts.
> Now I want to have the "Server" header being set to "Apache" no matter
> what, may it be static content, from a virtual host or 
> proxying from the
> application server in the back.
> 
> I experimented with mod_headers
> http://httpd.apache.org/docs/2.2/mod/mod_headers.html and searched the
> documentation for the last few hours.
> But I can't seem to find the place where to put that 'Header 
> set Server
> "Apache"' line so it is valid for _all_ answers to requests...
> 
> Anyone a good idea for me?
> </original>
> 
> ---------------------------------------------------------------------
> 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
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

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