Disable the TRACE and TRACK For More Security
An attacker may manipulate the TRACE and TRACK methods to intercept your visitors’ sensitive data. The solution, of course, is disable these methods on your webserver.This is a security vulnerability found in Apache servers.So to disable this just add the below lines.You can add this httpd.conf or .htaccess
How to disable the TRACE and TRACK methods
To disable TRACE and TRACK HTTP methods on your Apache-powered webserver, add the following directives to either your main configuration file or root HTAccess file:
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
These directives disable the TRACE and TRACK methods via the following process:
RewriteEngine on— enables Apache’s rewrite module (this directive is not required if already present in your htaccess file)RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)— targets all TRACE and TRACK request methods for the following ruleRewriteRule .* - [F]— return a403 Forbiddenerror response for all matched conditions (i.e., all TRACE and TRACK methods)
Related posts:
- mod_security the Apache Module, The Apache Firewall blocking your website?
- Url rewriting examples using .htaccess
- Adding apache handlers in cpanel
- Speed up wordpress using .htaccess part 2
- Fix the problem in getting 500 Internal Server Error In Localhost Due To .htaccess
- Adding Handlers Directly In httpd.conf Of Apache
- Disable submit button on form submit







