[Wolves] Apache question

James Turner james at turnersoft.co.uk
Fri Jan 23 00:13:22 GMT 2004


Like all things, it's probably dead easy if you know how, but...

One of my friends is working on a web site which amongst other things will 
include a section that provides (legal) MP3s for download. How do you ensure 
that when a user clicks on a link to one of the MP3 files their browser 
always begins to download the file rather than trying to load it into a media 
player (etc)?

As a temporary measure, he is providing users with instructions to right-click 
on the links and select "Save link target as..." (or whatever the IE 
equivalent is) but it would be far better if they could just left-click. Does 
the solution lie in something to do with setting the content type?

The web server is currently running Apache 1.3 on FreeBSD.

Thanks,

James




More information about the Wolves mailing list