Sylvester Lykkehus wrote:
David C. Rankin wrote: <snip>
Forget mycols.cc for the moment, and let's just focus on text files regardless of whether it's a script, source file, csv export, whatever. When I click on a text file in Firefox, it ought to display the text file in the browser windows just like all browsers have done since the dawn of NCSA Mosaic. For some reason firefox won't do this.
Yes, in some ways they are all text files, but the server sends different mime types for them. E.g. text/plain for text, text/x-c for C source file, etc., etc.
The problem being: Firefox only displays text files which are sent with text/plain as mime type. See my other reply in this thread for the bugreports to mozilla.
You could force the server to send text/plain as the mime type, but its a local fix, and an ugly one.
There has to be a simple fix -- or an evil conspiracy somewhere...
A bug that has been reported over 8 years ago. Maybe it is a conspiracy ? :-)
/Sylvester
Now the veil of fog is starting to lift. So it isn't totally firefox, it's apache managing the mime-types and Firefox is just responding to what it gets? I've chased down ~/.mozilla/firefox/(garbage)/mimeTypes.rdf and changing it is no help at all. It's like a rubber-band, change it and it snaps right back to its old behavior. I just deleted it and forced a rebuild. Oh well, I never knew viewing a text file could be so much work... Thanks again Sylvester -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org