Tuesday, August 05, 2025

Disable Track and Trace (RHEL 6/7)

How Can We Help?

< Back
You are here:
Print

Check Track and Trace using perl script:

Download here: test4trac.tar.gz

Documentation: testing-for-trace-and-track

When the test is positive, start the next procedure to disable track and race:

Check if the rewrite module is being loaded.

$> cd /etc/httpd

$> grep -it rewrite *

Results should be:

conf/httpd.conf:LoadModule rewrite_module modules/mod_rewrite.so

Create a confguration file for track and trace.

$> vi /etc/httpd/conf.d/trace_track.conf

<IfModule !mod_rewrite.c>
	LoadModule rewrite_module modules/mod_rewrite.so
</IfModule>
<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
	RewriteRule .* - [F]
</IfModule>
Now restart apache and check again...
Table of Contents
Back To Top