Follow me in Marketing, Life, and Making Money

How to Remove Apache Server Signature

Apache by default puts a “signature” at the end of error pages and directory listings…here is an example of what this looks like:

Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.7a DAV/2 mod_auth_passthrough/2.1 PHP/5.2.5 Server at yoursite.com Port 80

Most people don’t want to display that information to the general public, but luckily, it is easily removed. You can easily disable this in your httpd.conf file:

ServerSignature Off

Then run:

service httpd restart

or

apachectl restart


Tagged as: