Disable TRACE or TRACK method in Apache
Disabling the TRACE or TRACK methods from inside Apache are highly recommended and are now actually required in order to be PCI Compliant. To disable the method in a cPanel server the process is very easy:
(This method has been tested and documented for cPanel Version 58.0. Links may change based on cPanel versions)
- Access your Web Hosting Manager (WHM)
- Under Service Configuration, click the link for Apache Configuration
- Click the Global Configuration link
- The second option is TraceEnable. Set this to OFF.
- Restart Apache
To test and verify that the TRACE method is disabled on the server, you can do it two way;
Internal test from Shell:
telnet localhost 80
This should respond with waiting on a character. This proves the connection can not be made, and you will only be able to exit from it by pressing CONTROL-C on your keyboard.
External Test from a remote site:
Using the above URL, you can enter your domain name or main IP numbers for your server, then select the radio button for TRACE. After running the test, you see in the HTTP Response Headers the following information
"HTTP Status Code: HTTP/1.1 405 Method Not Allowed"
Was this answer helpful?
If you are receiving email notices about service certificate expiration in less than 30 days,...
If you are wondering what mod_evasive is, here's a good description for you. Apache mod_evasive...
If you're on a dedicated environment (VPS, Cloud, or dedicated server) here's how you'd change...
If you have a dedicated server or a vps, you may remove your clients from your firewall as needed...
The Signature Backup Package for your dedicated server includes 2 different sections. One of...