On Tuesday 14 November 2006 00:40, Darryl Gregorash wrote:
On 2006-11-14 02:22, Gustavo Zapico @ NETAVANZA wrote:
Hi
I have a problem with RPM. Anytime i try to download an RPM form Firefox the borwser tries to use Real Player to play rpm files. Where i could change this?
This is happening because you have installed the Realplayer plug-in and those files have the same extension as an RPM. RPM packages have a distinct MIME type, but if the browser doesn't recognize it, then it uses the file extension to decide how to handle it.
When this happens, the problem is usually that the server did not include the MIME type in the HTTP response headers, forcing the browser to make a suffix-based decision. Sometimes it can be helpful to inform the administrator of the server in question so they can update their server's MIME type mappings.
In Seamonkey/Mozilla:
Edit/Preferences/Navigator/Helper Applications, click New Type.
Enter MIME Type application/x-rpm and extension rpm, select the action you want, click OK to create the file type, and OK to save the preferences.
This will work, but when the browser is forced to base a dispensation decision on the file name suffix you cannot have to treatments for a given suffix, so if a RealPlayer ".rpm" stream comes along, it will get saved as a download. And URLs that don't actually have a suffix can't behandled. The only truly effective way is to get the server to supply a MIME type. Randall Schulz --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org