18 lines
529 B
Text
18 lines
529 B
Text
|
# ServerTokens
|
||
|
# This directive configures what you return as the Server HTTP response
|
||
|
# Header. The default is 'Full' which sends information about the OS-Type
|
||
|
# and compiled in modules.
|
||
|
# Set to one of: Full | OS | Minimal | Minor | Major | Prod
|
||
|
# where Full conveys the most information, and Prod the least.
|
||
|
#ServerTokens Minimal
|
||
|
ServerTokens Prod
|
||
|
ServerSignature On
|
||
|
TraceEnable Off
|
||
|
|
||
|
# Disable access to git files
|
||
|
<DirectoryMatch "/\.git">
|
||
|
Require all denied
|
||
|
</DirectoryMatch>
|
||
|
|
||
|
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
|