Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

ServerTokens Directive

by Arguile (Hermit)
on Oct 15, 2002 at 01:07 UTC ( #205258=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Altering "Server" HTTP Header Param
in thread Altering "Server" HTTP Header Param

To actually change the server tokens you need to recompile, but you can turn them off with the ServerTokens directive.

Unfortunately, “[the] setting[s] appl[y] to the entire server, and cannot be enabled or disabled on a virtualhost-by-virtualhost basis.” Which means it must be used in the main server configuration files. Some ISPs can be convinced to turn them off completely on a security basis — other than that you’re out of luck.


Comment on ServerTokens Directive
Replies are listed 'Best First'.
Re: ServerTokens Directive
by blakem (Monsignor) on Oct 15, 2002 at 01:23 UTC
    That changes what comes after 'Apache' in the Server header, not the 'Apache' string itself.

    -Blake

      For some reason I recall being able to specify ServerTokens Off. That doesn't appears in the docs though (and gives a syntax error) and I doubt that option would have been taken out. It must have been a hacked in feature (work had a set of patches).

      Sorry for the confusion.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://205258]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2015-08-30 02:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (346 votes), past polls