Java JAR files containing .php in the URL may be broken on your site

View: New views
1 Messages — Rating Filter:   Alert me  

Java JAR files containing .php in the URL may be broken on your site

by Eclipse WebMaster (Denis Roy) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
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
_______________________________________________
eclipse-mirrors mailing list
eclipse-mirrors@...
https://dev.eclipse.org/mailman/listinfo/eclipse-mirrors
LightInTheBox - Buy quality products at wholesale price!