[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Displaying .java files in browser

From: Brian W. Fitzpatrick <fitz_at_red-bean.com>
Date: 2004-03-04 23:18:47 CET

On Mar 4, 2004, at 4:01 PM, Wadsworth, Eric (Contractor) wrote:

> Quickie question:
>
> For convenience, I'd like my developers to see .java files from within
> the
> browser (MSIE). I edited the httpd.conf and mime.types files on Apache
> 2.0.48 (Solaris), and did apachectl graceful. I tried mudging the MSIE
> settings. Still, when I click on a .java file it tries to download the
> blasted thing instead of just showing the code in the browser window
> like I
> want it to.
>
> Maybe the setting is somewhere in the subversion server? Can anyone
> point me
> in the right direction?

I seem to recall a bug in MSIE where it ignores the mime-type and/or
content-disposition sent by the server and determines the mime-type
based on the suffix of the file in the URL.

Does any other browser exhibit this same behavior?

Have you considered offering ViewCVS/SVN support on your server?

-Fitz

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 4 23:17:58 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.