You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Fred Metcalf <ft...@math.ucr.edu> on 1998/10/01 01:23:59 UTC

config/3116: mime-type configuration

>Number:         3116
>Category:       config
>Synopsis:       mime-type configuration
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Wed Sep 30 16:30:00 PDT 1998
>Last-Modified:
>Originator:     ftm@math.ucr.edu
>Organization:
apache
>Release:        1.3.2
>Environment:
Solaris, Linux and probably others
>Description:
The mime.types configuration file should, by default, have the type
  "application/x-javascript .js"
included.  Lack of this type causes problems with included JavaScript files
on Win32 platforms running Netscape Navigator 3.

I ran into the problem after our systems person installed the latest version
of Apache.  After getting reports from Win32/NN3 users of a problem with
a major JavaScript application, we managed to trace the problem to the mime.types
configuration file.

There was another report on comp.lang.javascript recently, so the
problem seems to affect a number of sites.
>How-To-Repeat:

>Fix:
Simply add the line "application/x-javascript .js" to the distributed
mime.types file.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]