httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aman Raheja <arah...@techquotes.com>
Subject Re: [users@httpd] Forcing documents to download.
Date Fri, 01 Oct 2004 17:23:50 GMT
This might help

http://www.olate.com/forums/showthread.php?p=25146#post25146

It's for PHP but the concept should apply to all programing, since you 
have to pass |"Content-Type: application/force-download" in the header

Aman Raheja
|
Andrew Mull wrote:

>Hello,
>
>While this is most likely a client browser concern, hopefully Apache has a
>workaround, or someone on the list has figured it out.
>
>I have a site that allows people to "download" non web files (Word, Excel,
>PDF, etc).  On some browsers, it will prompt you to save it to disk...on
>others, it will open in the browser window (if you have the appropriate
>plug-in).
>
>Is there a way to force the file to be downloaded/saved to disk and bypass
>the plug-in?
>
>Thanks for any help!
>
>-Andy  
>
>
>  
>


Mime
View raw message