Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache 2 footer version display change/remove

Status
Not open for further replies.

nauliv

Technical User
Feb 7, 2006
40
US
Hello,


When using no index, for directories/files browsing, apache adds at the end of the page its version number and main server name (ex: Apache/2.0.52 (Red Hat) Server at my.servername.com Port 80).

The best way for hackers to search for victims once a security hole is disclosed, is to look for apache signature to find a vulnerable server.

This is why I want to remove the complete apache signature at the end of each page generated by Apache, or even better, change it in order to deceive hackers (make it "SomeHTTP Server v1.0").

Is there a way to do this without having to recompile any code ?

Thanks !!
 
Ok, I found how to remove the footer with apache version and server name. Add this line in httpd.conf:

ServerSignature Off

======


Anybody know if we can customize the signature with another name, without having to recompile ?

thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top