{"id":538,"date":"2013-10-22T17:44:03","date_gmt":"2013-10-22T17:44:03","guid":{"rendered":"http:\/\/vickistan.com\/?p=538"},"modified":"2013-10-29T13:07:16","modified_gmt":"2013-10-29T13:07:16","slug":"check-for-tracetrack","status":"publish","type":"post","link":"https:\/\/vickistan.com\/?p=538","title":{"rendered":"Checking whether TRACE\/TRACK are enabled in Apache"},"content":{"rendered":"<p>curl -v -X TRACE http:\/\/www.yourserver.com<br \/>\nRunning it against an Apache server with TraceEnable Off correctly returns HTTP\/1.1 405 Method Not Allowed (just tested on an Apache 2.2.22)<br \/>\nThis also works on HTTPS sites, provided that cURL has the correct information supplied to the SSL layer. This is the lazy man&#8217;s check of Google<br \/>\ncurl &#8211;insecure -v -X TRACE https:\/\/www.google.com\/<br \/>\nIf it shows that it is enabled, add the following to the httpd.conf file:<\/p>\n<p>TraceEnable Off<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>curl -v -X TRACE http:\/\/www.yourserver.com Running it against an Apache server with TraceEnable Off correctly returns HTTP\/1.1 405 Method Not Allowed (just tested on an Apache 2.2.22) This also works on HTTPS sites, provided that cURL has the correct information &hellip; <a href=\"https:\/\/vickistan.com\/?p=538\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-538","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/posts\/538","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vickistan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=538"}],"version-history":[{"count":2,"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/posts\/538\/revisions"}],"predecessor-version":[{"id":555,"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/posts\/538\/revisions\/555"}],"wp:attachment":[{"href":"https:\/\/vickistan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vickistan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vickistan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}