Disable HTTP TRACE/TRACK method

add the following RewriteCond to the httpd.conf

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

 

Restart the httpd service

systemctl restart httpd

 

Verify the

curl -v -A cUrl -k -X TRACK http://ol7-olvm
发表评论

相关文章