You can check out the latest post published on Nov 4, Force file download with. Author: Jeff Starr Category:. Multiple file types Here is another similar example that shows how to force download for multiple file types, plus sends an additional header to make it all good.
Learn more. WordPress Resources. Contact antivirus support helpdesk to get instant help. Your email address will not be published. Using Apache Using Apache and. Victory Using either of these techniques your files will now be forced to download. The table is probably corrupted. Leave a Reply Cancel reply Your email address will not be published. Connect and share knowledge within a single location that is structured and easy to search. I have a server running Ubuntu Server I would like to have a personal website for me and a few friends to host a few files.
I created the website and all is running smoothly. To test file hosting, I created a "test. In the file, I had this string:. When I click the link in my browser on my computer, however, instead of the file downloading, the string "This is a test file. Tested on multiple browsers. Any suggestions? I am very new to website hosting Thanks in advance. This is not something I would recommend doing to.
In your. The advantage is that the matching criterion for a Files block is more flexible than that of a plain AddType. When copying the code, remove the spacing. Your email address will not be published.
Save my name, email, and website in this browser for the next time I comment.
0コメント