{"id":81,"date":"2017-10-10T07:17:00","date_gmt":"2017-10-10T07:17:00","guid":{"rendered":"https:\/\/linuxadmin.melberi.com\/uncategorized\/restrict-http-response-headers-on"},"modified":"2017-10-10T12:08:06","modified_gmt":"2017-10-10T12:08:06","slug":"restrict-http-response-headers","status":"publish","type":"post","link":"https:\/\/www.melberi.com\/linuxadmin\/apache\/restrict-http-response-headers","title":{"rendered":"Set HTTP Response Headers on Apache"},"content":{"rendered":"<p>How to set the HTTP Response Headers on Apache server<\/p>\n<h2><span style=\"text-decoration: underline;\">HTTP Response Headers<\/span><\/h2>\n<p>To disable HTTP Response headers, add the following lines for each virtual host in your httpd.conf\u00a0 file\u00a0 <b>.<\/b><br \/>\n<b><br \/>\n<\/b><\/p>\n<div style=\"background-color: #cccccc;\"><b>RewriteEngine on<\/b><\/div>\n<div style=\"background-color: #cccccc;\"><b>RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)<br \/>\nRewriteRule .* &#8211; [F]<\/b><\/div>\n<p><b><br \/>\n<\/b>Apache versions 1.3.34, 2.0.55, and 2.2 support disabling the TRACE method natively via the &#8216;TraceEnable&#8217;<br \/>\ndirective.<b><br \/>\n<\/b><\/p>\n<p>tags: apache set response headder<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to set the HTTP Response Headers on Apache server HTTP Response Headers To disable HTTP Response headers, add the following lines for each virtual host in your httpd.conf\u00a0 file\u00a0&#8230; <a href=\"https:\/\/www.melberi.com\/linuxadmin\/apache\/restrict-http-response-headers\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[99,102],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/81"}],"collection":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/comments?post=81"}],"version-history":[{"count":5,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/81\/revisions"}],"predecessor-version":[{"id":686,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/81\/revisions\/686"}],"wp:attachment":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/media?parent=81"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/categories?post=81"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/tags?post=81"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}