Friday, July 13, 2012

WAMP - Hiding Apache and PHP information

To hide Apache server info open the apache/conf/httpd file and add these two lines:

ServerTokens ProductOnly
ServerSignature Off

To hid PHP info open the php.ini and change the expose_php from On to Off
Reboot the server.

No comments:

Post a Comment