10/29/2023 0 Comments Whm cpanel host header cloudfront# nano /etc/apache2/conf.d/modsec/Īfter a successful rebuild, restart Apache. Here, I am setting the value to just a single space. Next, utilize ModSecurity to change the value. This can be done from WHM > Service Configuration > Apache Configuration > Global Configuration.Īdditionally, from this same interface, you should set the Server Tokens value to Minimal to ensure the string you set is accepted. Then, to ensure your string is accepted, you must ensure Server Signatures are enabled. How to customize cPanel's Update Preferences from the Command Lineįirst, confirm that your server is showing the "Apache" value in the "Server" field.Ĭache-Control: no-store, no-cache, must-revalidate If they have been disabled previously, you may need to utilize the command-line to enable updates. Please ensure Apache is up-to-date by enabling automatic updates. Please do keep in mind that there are other ways to determine if a server is running Apache, and the "Server" identification header does not leak your version information. As an attempt to increase security, some users may find it helpful to be able to hide the "Server" identification header.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |