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.
|Genre:||Health and Food|
|Published (Last):||15 December 2015|
|PDF File Size:||18.50 Mb|
|ePub File Size:||11.64 Mb|
|Price:||Free* [*Free Regsitration Required]|
I want to force user to download images.
Submit a Support Ticket. Allow access to specific file types in a protected directory 16, hits.
php – How can I force an Image download in the browser? – Stack Overflow
Get help with your questions from our community of like-minded hosting users pctet InMotion Hosting Staff. Get web hosting from a company that is here to help. But for some reason it is not working as intended.
If you can edit the apache config
How to aapplication access to a specific file in htaccess 27, hits. This may be a document, an audio file, or a video file. That solved the error.
Perleone 3, 1 18 Please look at the documentation for FilesMatch and Filesrespectively. Sign up using Facebook.
How to force file downloading with htaccess | TimeWaster’s Place
Not open in browser. These directives may need to go near the top if you have existing directives – the order can be dorcetype. This way the user has their own copy of the file. Allow public access to a file in a protected directory using.