Skip to content

Instantly share code, notes, and snippets.

@jackfoust
Last active November 4, 2015 14:20
Show Gist options
  • Save jackfoust/541839d5ee9615ff1638 to your computer and use it in GitHub Desktop.
Save jackfoust/541839d5ee9615ff1638 to your computer and use it in GitHub Desktop.
Drupal 7.40 .htaccess change
# ADD TO END OF FILE
# Add headers to all responses.
<IfModule mod_headers.c>
# Disable content sniffing, since it's an attack vector.
Header always set X-Content-Type-Options nosniff
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment