Mail Archives: cygwin-developers/2000/02/25/17:31:45
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 -