Turning off your apache version number - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Server Administration (https://www.linux-noob.com/forums/forum-8.html) +--- Forum: LAMP (https://www.linux-noob.com/forums/forum-83.html) +--- Thread: Turning off your apache version number (/thread-3354.html) |
Turning off your apache version number - vandal - 2004-05-28 Some people may check your server by trying to find 404 not founds in which your apache version is displayed. Here is how you turn it off. pico -w /etc/httpd/conf/httpd.conf (or wherever your httpd.conf is located) ctrl - w and put in 'ServerSignature' change Code: ServerSignature On to Code: ServerSignature Off service httpd restart and your Apache 1.3.31 is now gone. Cheers. Turning off your apache version number - seeno - 2004-07-09 And some users may try and telnet to the host and see the HTTP response header, e.g Code: [seeno@seeno seeno]$ telnet qualitynet.net 80 here's a trick that will show only 'Apache' as the Server, in httpd.conf change Code: ServerTokens OS to Code: ServerTokens Prod or add it if it's not already there and restart the server. :) Turning off your apache version number - neurosis - 2004-07-10 vandal and seeno two good tips thinks ;) |