191145685 发表于 2017-1-4 06:45:53

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|Prod|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
页: [1]
查看完整版本: apache php 安全设置