This is the mail archive of the firstname.lastname@example.org
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: Compiled executable differences between 9x and NT
- To: email@example.com (Jonathan Pryor)
- Subject: Re: Compiled executable differences between 9x and NT
- From: Glenn Spell <firstname.lastname@example.org>
- Date: Fri, 12 Mar 1999 13:57:29 -0500 (EST)
- Cc: email@example.com
- Delivered-To: firstname.lastname@example.org
- Delivered-To: mailing list email@example.com
- In-Reply-To: <firstname.lastname@example.org> from Jonathan Pryor at "Mar 12, 99 08:16:24 am"
- Mailing-List: contact email@example.com; run by ezmlm
- Organization: the aerie
- Reply-To: firstname.lastname@example.org (Glenn Spell)
- Sender: email@example.com
[This message is off topic but I believe it is of interest.]
Jonathan Pryor wrote:
> I suppose I wasn't too clear in my original message.
> It was the *application* that was crashing; not Windows.
I just wanted to make sure you know what I was seeing.
> As for the download issue... I hadn't run into that before.
> Is "application/zip" close-enough for a tarball? e.g.
> <a href="gecl.tgz" type="application/zip">source tarball</a>
Well, I tried again and Netscape 4.05 still corrupts the file on
download. I assume the problem is still the headers generated
by your webserver.
> (I didn't see anything referencing "tar" in the IANA database,
> but I saw "application/zip", which seems to fit...)
I saw that there also. Oddly, either Netscape or WinZip set me
up in Netscape with "application/x-zip-compressed .ZIP". I
changed it to "application/zip" before I tried the download.
> Hopefully, this should fix the mime type problem -- if you're
> accessing from an html page, anyway. I'm not sure how to set
> the mime-type on a file when _directly_ accessing the file,
> instead of through an href. Thoughts?
I believe the following method will work regardless of how the
file is accessed. Since you're using Apache on FreeBSD, just
make a file named ".htaccess" in that directory with the
AddType application/x-gzip .gz .tgz
AddType application/x-tar .tar
File permissions must be correct and there may need to be
other directives in the file depending on how Apache is
configured. Check with the Head System Admin (Daniel Hagan)
there or the WWW Group <firstname.lastname@example.org> if you need help.
Actually, those types are so common they should have been
set up in the global config files by the admin. (I searched
for examples of ".tgz" on the Net but didn't find any. I
don't think what follows "application/" is critical... only
that the server recognizes the extension ".tgz" and prints
a Content-Type header that results in a binary download.)
To check the headers sent by your server you can use DJ's
"HTTP Header Viewer" at:
Glenn Spell <email@example.com>
Fayetteville, North Carolina, U. S. A.
... blue skies ... happy trails ... sweet dreams ...
Want to unsubscribe from this list?
Send a message to firstname.lastname@example.org