Mask Apache Server Version Number

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Server headers and directory defaults usually show Apache server information.
This information can be used by hackers to learn about vulnerabilities on your server if the system is not updated.
You can mask server information as follows:

  1. Log into server as root
  2. Open /etc/httpd/conf/httpd.conf with an editor
  3. Change the line ServerSignature on to ServerSignature Off
  4. After that line, edit/add “ServerTokens Prod
  5. Save and exit.
  6. Restart Apache:
    /etc/rc.d/init.d/httpd restart

Good luck!

 |  Print This Post Print This Post

Blogsphere: TechnoratiFeedsterBloglines
Bookmark: Del.icio.usSpurlFurlSimpyBlinkDigg
RSS feed for comments on this post
 |  TrackBack URI for this post



Related Post:


Leave a Reply