Skip to content

Instantly share code, notes, and snippets.

@toddfreese
Created March 23, 2012 21:18
Show Gist options
  • Select an option

  • Save toddfreese/2175156 to your computer and use it in GitHub Desktop.

Select an option

Save toddfreese/2175156 to your computer and use it in GitHub Desktop.
<IfModule mod_headers.c>
<filesMatch ".(gif|jpg|jpeg|png|pdf|psd|eps|tif|tiff|mov|mp4|aif|aiff|wav|wmv)$">
Header append Content-Disposition "attachment;"
</filesMatch>
Header add MS-Author-Via "DAV"
RequestHeader set X_FORWARDED_PROTO 'https' env=https
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment