Overriding MIME type in .htaccess
The easy way to do this is to stick a .htaccess in a directory that does an AddType for that extension in this directory only:
AddType application/octet-stream .pdf
HOWEVER... at the moment, I have a file in a folder which already had other PDFs in it. This was an oversight. I've got links out there which point to PDFs in this folder that I want displayed, and links out there to the one I want downloaded.
So what I want is to say "this PDF file, and ONLY this PDF file, should be served as application/octet-stream" in my .htaccess file. Am I right in thinking this is how to do it?
<Files mypdf.pdf> ForceType application/octet-stream </Files>
.