Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-mirrors] Mime-type for JAR files

Greetings,

We're running into a problem where some mirrors are trying to execute JAR files that contain *.php* in the filename as a PHP file, instead of offering the JAR file for download.

The easy fix is to make sure .jar is defined in your /etc/mime.types file:

# cat /etc/mime.types | grep jar
application/x-java-archive jar ear war

To see if you're affected, you can try downloading the JAR from your mirror listed here:

http://www.eclipse.org/downloads/download.php?file=/tools/pdt/updates/plugins/org.eclipse.php_0.2.5.jar&protocol=http

If you've changed your /etc/mime.types file, you may need to HUP/reload/kick Apache.

Thanks!

Denis



--

Eclipse WebMaster - webmaster@xxxxxxxxxxx
Questions? Consult the WebMaster FAQ at http://wiki.eclipse.org/index.php/Webmaster_FAQ
View my status at http://wiki.eclipse.org/index.php/WebMaster


Back to the top