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)

  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"



reviewed: 10/17/2016

  • Email, SSL
  • 38 Users Found This Useful
Was this answer helpful?

Related Articles

How do I find my root password?

1) Log into your billing account: https://portal.my-tss.com/clientarea.php 2) Click on the...

How to generate a CSR in WHM

You would like to purchase or transfer an SSL certificate but need a CSR to do so. Here's how to...

Changing ip addresses

To move an account from one ip to another in WHM:1) Log into WHM using root login details....

-DELETE How to downgrade MySQL from Version 5 to Version 4

If you've upgraded your MySQL Software to the newest version but for whatever reason need to...

How to disable Recursive DNS Lookups

A very common PCI Issue is related to the DNS servers.  In order to be PCI Compliant you must...