[Home]Download a file

HomePage | RecentChanges | Preferences | Newbie Help

Category HTML FAQ

The configuration of the visitor's browser determines what happens when a link to a file is clicked. You have no control over what happens and can't "force" anything. If you want your visitors to download a file as a file rather than opening it in the browser window tell them to right click and "save as..."

 You have to add these lines to your .htaccess:
 <FilesMatch "\.(doc)$" >
 ForceType application/octet-stream
 </FilesMatch>


Comments --
HomePage | RecentChanges | Preferences | Newbie Help
This page is read-only | View other revisions
Last edited November 28, 2001 8:57 am (diff)
Search:

This FAQ is happily hosted by Betadome Digital Media