Remove server info from Apache mod_autoindex and error page footers

apache-2.2

How to remove server info at the bottom of the directory listing?

It looks like this: Apache/2.2.14 (Ubuntu) Server

Best Answer

Add ServerSignature Off line inside either the .htaccess, the virtual host file, or the main config file.

More info can be found in the official apache documentation.