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

Re: mod_mime usage with mod_dav_svn

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-05-30 22:58:11 CEST

On May 30, 2005, at 3:31 PM, Ashley Neal Hornbeck wrote:

> I am having trouble getting mod_mime to add svn:mime-type for
> autoversioned files.
> It looks as though the patch that allows mod_dav_svn to use
> mod_mime is in
> subversion 1.2.0. Anyone have an example configuration that works?
>
> Below is what I am trying.
>

The patch's log message says:

        In order to make the PUT part work, set 'ModMimeUsePathInfo on'.
        In order to make the GET part work, set 'TypesConfig conf/
mime.types'.

Are you putting the ModMimeUsePathInfo bit in the <Location> block?

> Thanks,
>
> -Ash
>
> Subversion/1.2.0
> Apache/2.0.54
>
> --httpd.conf--
> ...
> # associate MIME types with filename extensions
> TypesConfig /etc/apache2/mime.types
> DefaultType text/plain
> Include /etc/apache2/mod_mime-defaults.conf
> ...
>
> --subversion.conf--
> <Location /repos/project2>
> DAV svn
> SVNPath /srv/svn/repos/project2
> SVNAutoversioning on
> AuthType Basic
> AuthName "Authorization for project2 required"
> AuthUserFile /srv/svn/user_access/project2_passwdfile
> Require valid-user
> </Location>
>
>
> ---------------------------------------------------------------------
> 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 23:00:47 2005

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