Edit the line so that it looks like this, and in Apache2 which doesn’t already have this line, add in at new one. In Apache13, the line should just above the line of ServerTokens. In this case, go to the bottom of config file, and add the new line with the following text. ![]() In Apache 2.0 or 2.2, the line normally does not exist. Also modify the Full to become Prod (press r key to replace one character, or R to replace multiple characters), so that the line becomes ServerTokens Prod. In Apache 1.3, you will likely to see a line starts with #ServerTokes Full In this case, remove or delete the # character (by pressing d key).You can perform a search by typing “/ServerTokes” and hit Enter. ![]() The Apache configuration normally located in /etc/httpd/conf/ or /etc/apache2/ or /etc/apache/ (for Apache1.3) depending on which Unix you’re using. Open and edit nf or nf (in Apache 2) with vi or other text editor.Login as root user or perform a sudo to the web server.To ensure that the Apache HTTP web server does not broadcast this message to the whole world publicly and fix possible security issue, modify these two directives ServerTokes and ServerSignature in nf configuration file.
0 Comments
Leave a Reply. |