Disable Track and Trace (RHEL 6/7) How Can We Help? Search < Back You are here: Home Software Apache Security Disable Track and Trace (RHEL 6/7) Print PostedOctober 31, 2018 Last Updated OnJune 29, 2021 Byadmin 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 You are here: Home Software Apache Security Disable Track and Trace (RHEL 6/7) Print PostedOctober 31, 2018 Last Updated OnJune 29, 2021 Byadmin 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...