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

Use Apache to force mime-type

From: I. E. Smith-Heisters <public_at_0x09.com>
Date: 2006-06-25 22:34:09 CEST

Hi all,

I want to serve files directly from my SVN repo without checking out a
working copy into my DocumentRoot. I guess the usual way of doing this
is by using the svn:mime-type property, but I'd like to also retain
the default behavior of dav_svn. So, what I was thinking is I could
setup two Apache Virtual Servers, eg. svn.example.com and
dl-svn.example.com, where svn.example.com would have the default
dav_svn configuration, and dl-svn.example.com would have apache
configured to determine mime-type as it would with a normal webserver,
eg. parse and render .php, render .html, download .tar.gz, etc.

Does anyone have an idea of how to configure Apache to do something
like that? I would think there should be a simple mod_mime option I
could set, but I've been unable to figure anything out.

Ian Smith-Heisters

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jun 25 22:35:23 2006

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.