Name
ServerTokens
Synopsis
ServerTokens
[productonly|min(imal)|OS|full]
Default: full
Server config
This directive controls the information about itself that the server returns. The security-minded webmaster may want to limit the information available to the bad guys:
-
productonly (from v 1.3.14)
Server returns name only:
Apache
-
min(imal)
Server returns name and version number, for example,
Apache v1.3
-
OS
Server sends operating system as well, for example,
Apache v1.3 (Unix)
-
full
Server sends the previously listed information plus information about compiled modules, for example,
Apache
v1.3
(Unix)
PHP/3.0
MyMod/1.2
Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.