There's also a HTTP header designed specifically to address this. For
those files, you need to set Content-Disposition: attachment.
I don't know what webserver you're using, but here are some
instructions on how to make Apache serve PDF's in this fashion.
Making rules for other filetypes, or for files only within certain
directories shouldn't be too much more difficult.
-- Jim R. WIlson (jimbojw)
On Thu, Jul 31, 2008 at 6:42 AM, Daniel Friesen <dan_the_man(a)telus.net> wrote:
That's configuration on your end. Either configure
your browser to
handle the mimetypes in a special way, or have your webserver send a
mimetype of application/octet-stream so that your web browser will
consider it a downloadable file.
~Daniel Friesen(Dantman, Nadir-Seen-Fire) of:
-The Nadir-Point Group (http://nadir-point.com
--It's Wiki-Tools subgroup (http://wiki-tools.com
--The ElectronicMe project (http://electronic-me.org
-And Wikia ACG on Wikia.com
Dan Sinclair wrote:
On my wiki, I have a lot of links to files which are all located on a
local server. However, when I click on them in the web browser, they
open up in the browser. So my question is, is there any way to make them
either open up in the correct application on the PC or in a separate
window in the browser?
MediaWiki-l mailing list