Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-mirrors] Java JAR files containing .php in the URL may be broken on your site

Greetings mirror maintainers,

It's come to my attention that some JAR files on our site contain ".php" in them. On some mirror sites, Apache treats these JAR files as a PHP script instead of prompting the user for a download. download.eclipse.org was configured this way as well.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=148879

To see if your mirror is one of the "broken" ones, you can try to download org.eclipse.php.core_0.1.4.jar from your mirror site using this list:
http://www.eclipse.org/downloads/download.php?file=/tools/php/updates/plugins/org.eclipse.php.core_0.1.4.jar&protocol=http

The fix for this is to add the following line to your /etc/mime.types file, and restart Apache:

application/java-archive        jar



If you have any questions, please feel free to contact me directly

Thanks for being an Eclipse mirror site!

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