On Fri, Mar 16, 2001 at 08:12:03AM -0500, Michael George <[EMAIL PROTECTED]> wrote:
| I'm getting the rpm file for webmin... When I click on the link to the page
| on my work machine, I get a "Netscape Download" window and it starts sucking
| the file down. However, when I do it from Netscape at home, it seems to try
| to pull it down and display it in the browser windows.
|
| I thought both installations were about the same, but apparently not. I have
| checked the preferences file, but don't see an option that would control that.
| If anyone could point me in the right direction, I'd appreciate it...
Firstly, shift-left-click will always get you a Save dialogue.
Secondly, look at the file ~/.mailcap; this is a list of media types
and handlers for each, and is what Netscape uses to drive the Helpers
dialogue.
You may, for interest, also wish to look at ~/.mime-types. Netscape edits
this and uses it to guess types from file extensions for local (non-HTTP)
content. If you're fetching from an FTP site, and _not_ using a proxy,
the .mime.types file may well be being used, because FTP is untyped.
If you use a proxy at work and not at home (or vice versa) this may
be the significant difference. There is some debate about what type to
assign FTP-fetched data via a proxy; because the proxy _must_ give the
data a type the proxy which does the actualy FTP fetch must do as your
browser, and guess a type. Just as for local file content. Now, like
your browser it will look up a .mime.types file (or equvalent table)
based on extensions, but if there is no extension or the extension
isn't in its list then it must punt, and typically chose either
text/plain on the premise that must unrecognised things are text like
README files, or go for application/octet-stream on the premise that
the file is probably binary and in any case is best served "pure". As
you may imagine, text/plain tends to be displayed by your browser and
application/octet-stream always invokes a Save dialogue.
So, what's your proxiness at work and at home?
--
Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/
Uh, this is only temporary...unless it works. - Red Green
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list