Set HTTP Response Headers on Apache


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  file  .

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


Apache versions 1.3.34, 2.0.55, and 2.2 support disabling the TRACE method natively via the ‘TraceEnable’
directive.

tags: apache set response headder