Friday, July 6, 2012

Prevent Apache and PHP to disclose any information about themselves

 

/etc/apache2/apache2.conf

  1. > ServerTokens Prod

  2. > ServerSignature Off

/etc/php5/apache2/php.ini

  1. > expose_php = Off

No comments:

Post a Comment