[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] MiNT-Net 1.04 available



Hi!

On Tue, Jul 20, 1999 at 11:17:53PM +0200, Guido Flohr wrote:
> Better
> AddType application/x-bzip bz2
> AddType application/x-gunzip gz
> AddType application/x-gunzip tgz
> AddType application/x-lharc lzh

All these won't work in .htaccess if the server's admin hasn't allowed
overriding file types in these files. By default, this isn't allowed,
IIRC. So, in httpd.conf, there has to be something like

AllowOverride FileInfo <maybe more>

in the <Directory> section that affects user directories.

Also note that Apache as of 1.3(?) has a "magic MIME module" which will
use an /etc/magic-style file to determine the MIME type of a file, if it
can't be resolved by looking at predefined types. In that case, unknown
binary data won't be sent as text/plain (or whatever was set as the
default type), but at least as application/octet-stream.

> BTW, not sure if this is Microscape's or Apache's fault: Clicking .rpm
> files will fire up some audio plug-in which will download the entire
> archive and then tell you "not a sound file :-(" and discard it.

Depends. What MIME type is returned of .rpm? Anyway, when unsure, always
use "Save link as" (for Navigator, or the equivalent option in MSIE).
This will bypass any plug-ins and such.


Ciao

Thomas


-- 
Thomas Binder (Gryf @ IRCNet)  gryf@hrzpub.tu-darmstadt.de
PGP-key available on request!  binder@rbg.informatik.tu-darmstadt.de
Vote against SPAM:             http://www.politik-digital.de/spam/

Attachment: pgp9ZsCABbhI6.pgp
Description: PGP signature