user2090305
user2090305

Reputation:

Remove server info and PHP info from response header

How can i prevent server info and php info to be displayed in response header

Upvotes: 27

Views: 36269

Answers (1)

William Buttlicker
William Buttlicker

Reputation: 6000

for server info add the following lines in apache2.conf

ServerTokens ProductOnly

ServerSignature Off

For PHP info

in your php.ini

turn

expose_php = off

Upvotes: 58

Related Questions