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:
- Log into server as root
- Open
/etc/httpd/conf/httpd.confwith an editor - Change the line
ServerSignature ontoServerSignature Off - After that line, edit/add “
ServerTokens Prod“ - Save and exit.
- Restart Apache:
/etc/rc.d/init.d/httpd restart
Good luck!
|
Print This Post
Blogsphere: TechnoratiFeedsterBloglines
Bookmark: Del.icio.usSpurlFurlSimpyBlinkDigg
RSS feed for comments on this post | TrackBack URI for this post
Related Post:
- Script for phpMyAdmin Update
- Advance Command for System Admin
- DNS Command for Troubleshooting
- Howto Turning Off Smartctrl Notices
- Modify Bandwidth Exceeded Page cPanel/WHM
