Posted By

joeymarchy on 02/12/09


download htaccess force

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Force download with .htaccess

 / Published in: Bash

For expression engine, I placed with with the main set of .htaccess rules in the root

  1. <Files *.png>
  2. ForceType application/octet-stream
  3. Header set Content-Disposition attachment
  4. </ Files>

Report this snippet  

You need to login to post a comment.