What Steff says is exactly correct...if you have the correct
permissions, you can add the:
AddType application/octet-stream .exe .zip
line to your srm.conf file, or if you don't have access to write to the
srm.conf file and you're allowed to have your own .htaccess file, create
a .htaccess file in the directory in which the files exist with the
line:
AddType application/octet-stream .exe .zip
and you'll be rockin' steady!
Patrick Hawley
ps- do you (Mark Radtke) have a relative named Lissa that used to live
in Champaign, IL?
--
6610 Delmar Blvd. | www.vintagevinyl.com
St. Louis, MO | ph 314-721-8115
63130 USA | fax 314-721-8746
> : I am using the Apache server and trying to download .exe or .zip files
> : that have been uploaded to the server. Whenever I try to download the
> : files the web browser treats the .exe or .zip as a text file and not a
> : file to download.
> : Anyone know how to configure the server to handel file downloads?
> Hi Mark,
> you need to add a MIME type to your 'mime.types' configuration file, or
> an AddType to the resource manager config file.
> While I don't use Apache (and so can't give you specific details), I know
> that the way to do this with NCSA (which, I believe, it not that
> different from Apache) is
> AddType application/octet-stream exe zip
> This will cause the server to 'handshake' with the browser and tell it
> that any file with the filename extension is being sent as an
> 'octet-stream'.. basically a binary file. The browser should then
> recognise that it will need to save this file, rather than display it!
> Hope this helps,
> Steff
> : Steff Watkins, General Computer-type being
> : University of Bristol, Clifton, Bristol, AVON, BS8 1TH, UK