[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: Rob van Oostrum <rob.vanoostrum_at_blastradius.com>
Date: 2004-03-05 17:05:58 CET

I just tried this on my test repository running on Linux, from my Win2K
desktop using IE6 ... I do not have the svn:mime-type set explicitely on
this particular repository, and java files show up as plain-text no problem.

My guess is go back and undo the changes you made to Apache and IE, restart
the whole thing and see what happens. If that doesn't do the trick, try to
telnet to your server on port 80 and do a GET on the file. The raw output
might give you some clues as to what's happening.

good luck
Rob

> -----Original Message-----
> From: anton [mailto:anton@nezzwerk.com]
> Sent: Friday, March 05, 2004 10:59 AM
> To: junk.mail@inode.at
> Cc: kraml; users@subversion.tigris.org
> Subject: Re: Displaying .java files in browser
>
>
> >>>>
> >>>>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?
> >>>
>
>
> most likely, it's IE. by default svn+apache serves files as
> plaintext,
> unless you set the svn property that will make apache serve certain
> files with certain mime-type headers (see svn book for more details).
> try using a real browser to verify that it is indeed IE.
>
> -a
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 5 17:06:26 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.