Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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.

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.


      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?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2021-04-18 21:13 GMT
Find Nodes?
    Voting Booth?

    No recent polls found