Reputation:
How can i prevent server info
and php info
to be displayed in response header
Upvotes: 27
Views: 36269
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