From bugzilla_noreply@novell.com Fri Mar 29 11:10:07 2013 From: bugzilla_noreply@novell.com To: bugs@lists.opensuse.org Subject: [Bug 812427] New: openSUSE 12.3 Apache webserver has duplicate entry for javascript mime type Date: Fri, 29 Mar 2013 11:09:36 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1273937671942769526==" --===============1273937671942769526== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugzilla.novell.com/show_bug.cgi?id=812427 https://bugzilla.novell.com/show_bug.cgi?id=812427#c0 Summary: openSUSE 12.3 Apache webserver has duplicate entry for javascript mime type Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: SUSE Other Status: NEW Severity: Minor Priority: P5 - None Component: Apache AssignedTo: bnc-team-apache@forge.provo.novell.com ReportedBy: richard.eigenmann@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22 The default apache2 configuration in openSUSE 12.3 has two entries for files with a .js extension: grep js$ /etc/apache2/mime.types application/javascript js text/x-js js When a .js file is downloaded the second mime type is used. I think the first one is actually the correct one. The Chrome debugger (Console) moans about this with the error: Resource interpreted as Script but transferred with MIME type text/x-js: Please remove the text/x-js mime type or comment it off by default. Reproducible: Always Steps to Reproduce: grep js$ /etc/apache2/mime.types Actual Results: Install Apache, Start It. Create an html page with a javascript