Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

HTTP Server header

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


evgeny at inovvia

Apr 9, 2012, 3:58 AM

Post #1 of 3 (152 views)
Permalink
HTTP Server header

Hi,

I am trying to set a "Server" http header to my value in "request->headers_out" field but after http response is transmitted I see that Apache changed "Server" header value to "Apache/2.4.1 (Unix) OpenSSL /1.0.0-fips".

How can I configure Apache server not to set its own "Server" header?

Thanks,
Evgeny


icicimov at gmail

Apr 9, 2012, 5:22 PM

Post #2 of 3 (141 views)
Permalink
Re: HTTP Server header [In reply to]

Switch off the ServerTokens in your configuration.


On Mon, Apr 9, 2012 at 8:58 PM, Evgeny Shvidky <evgeny [at] inovvia> wrote:

> Hi,****
>
> ** **
>
> I am trying to set a "Server" http header to my value in
> "request->headers_out" field but after http response is transmitted I see
> that Apache changed "Server" header value to "Apache/2.4.1 (Unix) OpenSSL
> /1.0.0-fips".****
>
> ** **
>
> How can I configure Apache server not to set its own "Server" header?****
>
> ** **
>
> Thanks,****
>
> Evgeny****
>
> ** **
>


icicimov at gmail

Apr 9, 2012, 5:35 PM

Post #3 of 3 (138 views)
Permalink
Re: HTTP Server header [In reply to]

Ah looks like it's not possible actually to completely switch this header
off:

ServerTokens Major|Minor|Min|Prod|OS|Full

So the most you can get from it is the Prod option which gives you

Server: Apache

instead of

Server: Apache/2.4.1 (Unix) OpenSSL /1.0.0-fips

when the value is set to Full.

On Tue, Apr 10, 2012 at 10:22 AM, Igor Cicimov <icicimov [at] gmail> wrote:

> Switch off the ServerTokens in your configuration.
>
>
> On Mon, Apr 9, 2012 at 8:58 PM, Evgeny Shvidky <evgeny [at] inovvia> wrote:
>
>> Hi,****
>>
>> ** **
>>
>> I am trying to set a "Server" http header to my value in
>> "request->headers_out" field but after http response is transmitted I see
>> that Apache changed "Server" header value to "Apache/2.4.1 (Unix) OpenSSL
>> /1.0.0-fips".****
>>
>> ** **
>>
>> How can I configure Apache server not to set its own "Server" header?****
>>
>> ** **
>>
>> Thanks,****
>>
>> Evgeny****
>>
>> ** **
>>
>
>

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.