To turn off Server signature on a WordPress site, you need to access the. The ServerTokens directive is used to determine what Apache will put in the Server HTTP response header. The ServerSignature appears on the bottom of pages generated by apache such as 404 pages, directory listings, etc. Now, that you have located your config file, you need to add the following lines of code to your Apache Config file to turn off the server signature ServerSignature Off Similarly, the config file for Ubuntu/Debian can be found by the following command $ sudo vi /etc/apache2/nf Step 2: In CentOS/Fedora you can find the config by hitting the following command in the terminal $ sudo vi /etc/httpd/conf/nf So that you can go back to previous state if something went wrong. Before you edit Htaccess/Apache config files, it is advisable to create a backup of configuration file. The location of the file is different for different operating systems. In this tutorial, you will learn how you can disable server signature by editing the Apache/.htaccess file.įirst you need to find the config file of Apache. You need to disable your server signature if you want to protect yourself from imminent threats when you reveal your signature. These signatures displayed on error pages, and in other communications with the web server, may reveal sensitive information about the software versions running on the web server. The version number of Apache Server and Operating System information will be displayed in the server signature. Server Signature is an important piece of information about your server and operating system.įor example suppose you are using an Apache server with Ubuntu operating system. Sites like whatsmyip can display your information. The information in a server signature can also be dangerous to your system. There are numerous ways on how your website can have a security threat.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |