ServerTokens ProductOnly
ServerSignature Off
Now that we’re not exposing the Apache version, let’s hide the PHP version also. To do this, head over to your php.ini file and set expose_php to off. This setting is on by default and when ever a php file is accessed, an X-Powered-By header is sent back through Apache.
expose_php = Off
No comments:
Post a Comment