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 11.24.4.  Links may change based on cPanel versions)

  1. Access your Web Hosting Manager (WHM)
  2. Under Service Configuration, click the link for Apache Configuration
  3. Click the Global Configuration link
  4. The second option is TraceEnable.  Set this to OFF.
  5. 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:

http://web-sniffer.net/

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"

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

Adding a range/block of ips

As an example to add a /24 253 ips to a linux server follow these setups. We'll use...

Find Out DNS Server IP Address

How do I find out my DNS server IP address assiged my my ISP under Unix or Linux operating system...

How to Check VPS Memory/RAM Usage with SSH

There are a few tools built-in to most Linux distros for gauging and fine-tuning your...

How to create custom nameservers in cPanel/WHM

The first time you log into WHM when cpanel is installed you will have to complete a 6 step basic...

cPanel: Unactive License File

cPanel may spit out a "Unactive License File" error when new IP addresses or added or when your...

Powered by WHMCompleteSolution