Apache – Disable HTTP TRACK / TRACE Methods

To turn off track and trace methods for individual virtual hosts add the follwowing to the vhost config:
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* – [F]

Dont’ forget to restart apache when you saved the vhost config file.

Leave a Reply

Your email address will not be published. Required fields are marked *

Are you a human? *