Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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
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 drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2014-09-17 12:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (77 votes), past polls