delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/02/25/17:31:45

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Date: Fri, 25 Feb 2000 17:40:04 -0500
From: Glenn Spell <glenn AT gs DOT fay DOT nc DOT us>
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: Installation Routine
Message-ID: <20000225174004.A1151@shell4.ba.best.com>
Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com
Mail-Followup-To: cygwin-developers AT sourceware DOT cygnus DOT com
References: <20000225083945 DOT 22749 DOT qmail AT hotmail DOT com> <38B64FB1 DOT CD9B12D3 AT vinschen DOT de> <20000225053004 DOT A11333 AT shell4 DOT ba DOT best DOT com> <20000225111653 DOT D31323 AT cygnus DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 1.0i
In-Reply-To: <20000225111653.D31323@cygnus.com>; from "Chris Faylor" on Fri, Feb 25, 2000 at 11:16AM
Organization: the aerie

On 25 Feb 2000 around 11:16AM (-0500) Chris Faylor wrote:

> Actually, I thought it was IE that messed up .bz2 files.

It's probably both IE and Navigator... and any other web client
that's programmed to accept http mime headers as accurate. If
I recall correctly, the default Apache configuration serves files
with extension .bz2 as text/plain files. This may work on Unix
systems but not on Windows/DOS.

> Regardless, you don't have to give the files a .bz2 extension,
> necessarily.  The only problem with that is that you run the risk
> of confusing people who download individual packages.

Yes, that might cause additional confusion. Sometimes it is true that
two wrongs don't make a right. <g>

At <http://cygutils.netpedia.net/> Chuck solved this problem with the
.htaccess configuration file. I just now downloaded a bz2 file from
there with Netscape to confirm that.

But back to Ron's question about using bzip2...

I don't know if the bzip2 files to which Ron's question refers
would be served from only Sourceware or not. But back in August
I did send Jason the following patch for the Sourceware Apache
configuration. This patch will alleviate the bz2 download problem. (I
also sent him some suggestions for solving similiar problems with
MHonArc.) I believe that, at the time, he was to busy to pursue
this. I don't know if any changes have been made since to the
Sourceware configuration. I just now looked for some bz2 files on
Sourceware being served by http but did not find any.

Again, the problem only exist when serving files with http.

So... personally, I see no problem with Ron using bzip2. I
suspect that these files will be served via ftp anyway so Apache
configuration would not even enter into the equation.

The patch follows just to illustrate how easy it is to correct.
(This also stops Netscape from changing tar.gz to tar.tar)

------------------< cut here >------------------
--- mime.types.ORIG     Sun Mar 14 17:59:00 1999
+++ mime.types  Sun Aug 15 03:24:34 1999
@@ -153,6 +153,9 @@
 application/wordperfect5.1
+application/x-arj-compressed   arj
 application/x-bcpio            bcpio
+application/x-bzip2            bz2
 application/x-cdlink           vcd
 application/x-chess-pgn                pgn
-application/x-compress
+application/x-compress         Z
+application/x-compressed       tgz
 application/x-cpio             cpio
@@ -163,3 +166,3 @@
 application/x-gtar             gtar
-application/x-gzip
+application/x-gzip             gz tar.gz z
 application/x-hdf              hdf
@@ -169,2 +172,4 @@
 application/x-netcdf           nc cdf
+application/x-patch            patch
+application/x-rar-compressed   rar
 application/x-sh               sh
------------------< cut here >------------------

-glenn

-- 
  ________________________________________      _       _____
 )                                        )_ _ (__\____o /_/_ |
 )    Glenn Spell <glenn AT gs DOT fay DOT nc DOT us>    )     >-----._/_/__]>
 )________________________________________)               `0  |

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019