Disable TRACE Method on Cpanel 11.30.6 (build 3)

manishbathla

Member
Mar 23, 2012
7
0
51
cPanel Access Level
Website Owner
Hello,

How do I disable TRACE Method on Cpanel 11.30.6 (build 3), Apache version 2.2.22?.
Id appreciate if you guys help me regarding this.

Manish.
 

JeffP.

Well-Known Member
Sep 28, 2010
164
15
68
Hi Manish,

Try this please:

WHM >> Apache Configuration >> Global Configuration >> Trace Enable (set to Off) >> Save >> Rebuild Configuration and Restart Apache.

That should do the trick.
 

manishbathla

Member
Mar 23, 2012
7
0
51
cPanel Access Level
Website Owner
Hello Jeff,

I had a chat with the company i bought the space from. They say in order to access WHM, I need to buy the reseller package which cost 10x more than what I have already paid for.

Is there a way to disable the TRACE method via cpanel?. Sorry, I do not know much about cpanel or WHM as am new here but I hope there is a way to disable the TRACE method in order to secure my website.

Thanks for responding Jeff.
 

NixTree

Well-Known Member
Aug 19, 2010
413
5
143
Gods Own Country
cPanel Access Level
Root Administrator
Twitter
Hello,

No, you cannot disable TraceEnable globally without root access. If you would like to disbale this for your website, put something like below in your htaccess file

RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]

Or ask your host to disable it globally, since it is recommended to set off by default.

Thank you,
Nibin.