Removing Headers with Mod_Header

Last modified: 
Thursday, November 5th, 2015

An example of stripping headers set by applications (e.g., Drupal) with Apache Mod_Header.

<IfModule mod_headers.c>
     Header unset X-Generator
     Header unset X-Drupal-Cache
     Header unset X-Powered-By
</IfModule>

References


The operator of this site makes no claims, promises, or guarantees of the accuracy, completeness, originality, uniqueness, or even general adequacy of the contents herein and expressly disclaims liability for errors and omissions in the contents of this website.