[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: Ashley Neal Hornbeck <ahornbeck_at_yahoo.com>
Date: 2005-05-30 23:12:09 CEST

Thanks for the quick response. That was the problem.

Here is the <Location> block that works.

<Location /repos/project2>
        DAV svn
        SVNPath /srv/svn/repos/project2
        SVNAutoversioning on
        ModMimeUsePathInfo on
        AuthType Basic
        AuthName "Authorization for project2 required"
        AuthUserFile /srv/svn/user_access/project2_passwdfile
        Require valid-user
</Location>

-Ash

--- Ben Collins-Sussman <sussman@collab.net> wrote:

>
> 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:13:52 2005

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.