Adding Mime.Types with NCSA's httpd

Adding Mime.Types with NCSA's httpd

Post by Gregory Redd » Tue, 08 Apr 1997 04:00:00



Hi all:

I have a file that whenever someone downloads it from my webserver
(httpd) it opens the file in "binary code" rather than downloading it
to their hard drive. In NetScape, you can hold the SHIFT key down
while downloading it, but I would like to add the file extension to my
mime.types file instead. The file is a .JAR file. A .JAR file is a
Java Applet Resource file that the new JDK v.1.1 is capable of doing.
It's kinda like a ZIP file in a way.

I've manually edited my mime.type file to say:

application/jar                      jar

BUT, this still doesn't work. Can someone help me add the .jar file
type as a Mime type extension? Do I have to restart the server or
something?

Thanks for any help that you can provide.

-Gregory Reddin

 
 
 

Adding Mime.Types with NCSA's httpd

Post by Stunt Po » Fri, 11 Apr 1997 04:00:00


Quote:>I've manually edited my mime.type file to say:

>application/jar                      jar

>BUT, this still doesn't work. Can someone help me add the .jar file
>type as a Mime type extension? Do I have to restart the server or
>something?

Yep.

--
Mark Jeftovic (aka: Mark Jeff or Vic, Stunt Pope)
SysAdmin, Private World Communications

irc: L-bOMb motto: Pigritia, Impatientia et Adrogantia