MiceHead
12-12-2003, 11:49 AM
I'm trying to allow users to download map files from my website. These are plaintext ASCII, so when I access them via browser, they are simply show as straight text.
I'd like the browser to ask the user if s/he'd like to save this, so I've tried to force the MIME types on these in the .htaccess file:
AddType application/octet-stream .def
<Files ~ "*.def">
order allow,deny
allow from all
</Files>
However, the files still pop up as text. Anyone have suggestions as to how I can force this to save-as rather than display?
I'd like the browser to ask the user if s/he'd like to save this, so I've tried to force the MIME types on these in the .htaccess file:
AddType application/octet-stream .def
<Files ~ "*.def">
order allow,deny
allow from all
</Files>
However, the files still pop up as text. Anyone have suggestions as to how I can force this to save-as rather than display?