Question: What do you mean by server technology in header?
When an request is sent from client to server.
When an request is sent from one server to another server.
There are lot of information also sent back to client(receiver information).
HTTP/1.1 200 OK Date: Tue, 21 Jun 2016 05:24:34 GMT Server: Apache/2.2.22 (Win32) PHP/5.4.3 X-Powered-By: PHP/5.4.3 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html
Question: What are benefits of hiding server info from header?
An attacker will not get to know which technology you are using in your application.
Question: How to hide the Server technology information from header?
Open php.ini file
expose_php = on
expose_php = Off
Add Following in your .htacess (root folder)
Step 3 Setup the mod_security with Apache