apache php 安全设置

ServerSignature Directive

Description:
Configures the footer on server-generated documents

Syntax:
ServerSignature On|Off|EMail

Default:
ServerSignature Off

Context:
server config, virtual host, directory, .htaccess

Override:
All

Status:
Core

Module:
core

ServerTokens Directive

Description:
Configures the Server HTTP response header

Syntax:
ServerTokens Major|Minor|Min[imal]|Prod[uctOnly]|OS|Full

Default:
ServerTokens Full

Context:
server config

Status:
Core

Module:
core

; Decides whether PHP may expose the fact that it is installed on the server
; (e.g. by adding its signature to the Web server header).  It is no security
; threat in any way, but it makes it possible to determine whether you use PHP
; on your server or not.
; http://php.net/expose-php
expose_php = Off

你可能感兴趣的:(apache php 安全设置)