`
dbaspider
  • 浏览: 263562 次
  • 性别: Icon_minigender_1
  • 来自: 南京
社区版块
存档分类
最新评论

apache php 安全设置

    博客分类:
  • LAMP
阅读更多
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
0
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics