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

RE: any way to let apache show the "correct" file format when used in browser ?

From: Rogers, Donald <Donald.Rogers_at_openpolytechnic.ac.nz>
Date: 2005-05-30 05:43:49 CEST

Hi Joe,
I found that Firefox displayed html files as plain text, but IE6 apparently used the file extension to guess the mime type, and rendered it as a web page.

Each svn client (e.g. Tortoise) needs to have a config file on every client user's PC containing something like this, in order to set the mime type at the time that it is first written to Subversion:

[miscellany]
enable-auto-props = yes

[auto-props]
*.htm = svn:mime-type=text/html;svn:eol-style=native
*.html = svn:mime-type=text/html;svn:eol-style=native

See the config file itself for documentation.

Donald Rogers

joe robe wrote:

I love the feature to simple browse the repository via
the browser. Problem is that SVN shows everything as
ascii text, even HTML files are shown with plain HTML.

Is there any way to get the "real underlying" file
format in the browser ? ( showing HTML and opening
save as for any other files ..)

Thanks for any help

Joe

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

---------------------------------------------------------------------
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 Mon May 30 05:45:32 2005

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