LinuxHelps.com

A blog for Linux Lovers.

Posted by sibu on August 28, 2014

Disable TRACE and TRACK Methods in Apache

For security purposes you might want to disable Trace and Track methods onĀ  Apache Web Server.

Add the following to httpd.conf file:

RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]

-OR-

With newer versions of Apache 1.3.34 or later or 2.0.55 or later, you can just add the following line

TraceEnable off

Comments are closed.