Hi Guys,
I've been trying without success to get a rule working on my production server that works fine on my WAMP server on my local machine:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule \.exe /download/ [L]
On my local server it redirects all direct file download requests to /download/ but on the production server the files are just downloaded, if you remove the condition and type a non-existant file name it does redirect to /download/..
Once i've got this working i'm going to add an additional condition that the referer must be something like /download/ok/ for it to download the file.