AddType application/ AddType application/ Be sure to hit the Save Changes button in the upper right corner. ForceType application/octet-stream.. But this is not enough! Even when the MIME-Type is set to “octet-stream”, some browsers. ForceType application/octet-stream. Header set Content-Disposition attachment.
|Published (Last):||28 February 2005|
|PDF File Size:||12.60 Mb|
|ePub File Size:||16.50 Mb|
|Price:||Free* [*Free Regsitration Required]|
How to force a file fo download instead of displaying via the. Setting the appropriate Content-Disposition header should be sufficient in all modern browsers. Sign up or log in Sign up using Google.
The above code does still override the Content-Type when forcing a download ie. Double check your webserver configuration and if you don’t feel able to, contact the streak personel that normally takes care of that your sysadministresssee as well ForceType Directive and Header Directive. How to password protect a single file with htaccess 27, hits.
How to force file downloading with htaccess | TimeWaster’s Place
How to disable caching using the. To do so requires a small bt of code to be added to your htaccess file for that domain. Sign up or log in Sign up using Google. Post as a guest Name.
Removing file extensions using htaccesshits. This really isn’t going to change anything. Now, I would like applicatino allow for both downloadable files and streaming files from the same folder. How to Change your Default Index Page in.
If you can edit the apache config
Try this in your. I already know that the 2 lines inside the tag works, because it works when I put a. But for some reason it is not working applixation intended.
Get web hosting from a company that is here to help.