Re: Netscape v.s. C source code
On Fri, May 04, 2001 at 02:58:59PM -0400, Ben Collins wrote:
> On Fri, May 04, 2001 at 02:20:15PM -0400, Steve M. Robbins wrote:
> > WTF? It's *text*, after all. What magic spell is needed to convince
> > navigator to put it into the main window like a "foo.txt" file?
> Setup apache to treat .h and .c as text/plain. That will tell netscape
> and any other web browser to just view the contents as plain text.
I expect that will work.
If this is the only workaround available, my next question is: why is
Debian's apache configured to use a "text/x-csrc" MIME type? Are
there other web browsers that do something sensible with that MIME type?
I tried Netscape, Mozilla, Galeon (mozilla-based), "Browse X", and
lynx. None of them would display text/x-csrc. The first three tried
to save it to disk, BrowseX showed a blank page, and lynx completely
ignored my attempt to open the link.