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

Re: Problems with apache dav setup

From: <pellegrini_at_frameweb.it>
Date: 2007-05-30 19:30:48 CEST

Hi Ram,

I followed a setup explained at http://www.linuxjournal.com/node/7655/print
In particular

/etc/apache2/conf.d/subversion.conf contains

<IfModule mod_dav_svn.c>
Include /srv/svn/conf/mod_dav_svn.conf
</IfModule>

mod_dav_svn.-conf contains

Include /srv/svn/conf/public_default_policy.conf
Include /srv/svn/conf/private_default_policy.conf
Include /srv/svn/conf/policies/public/*
Include /srv/svn/conf/policies/private/*

/srv/svn/conf/public_default_policy.conf contains

<Location /public>
        Dav svn
        SVNParentPath /srv/svn/repos/public
        <LimitExcept GET PROPFIND OPTIONS REPORT>
            Order deny,allow
            Deny from all
            Allow from 192.168.69.0/24
            Satisfy all
        </LimitExcept>
</Location>

/srv/svn/conf/policies/public/crm contains

<Location /public/crm>
        <LimitExcept GET PROPFIND OPTIONS REPORT>
                AuthType Basic
                AuthName "Public Subversion repository for project crm"
                AuthUserFile /srv/svn/conf/svnpasswd
                AuthGroupFile /srv/svn/conf/svngroups
                Require group public_crm
        </LimitExcept>
</Location>

I think this is a bit complex, but the article was the only one i found
with a thorough explanation of why things are set up in that way.

Thank you for help

Francesco

"Ramanathan Muthaiah" <rus.cahimb@gmail.com> wrote on 30/05/2007 19.17.36:

> > repositories are in /srv/svn/repos/public
> > <Location> is set up accordingly
> > AuthUserFile and AuthGroupFile have been created with htpasswd2
> >
> > made a chown wwwrun:www -R on /srv/svn
> >
> > all seems ok, if i do an svn import with url file:///......
> > all works smoothly
> > If i use svn import http://srvname/public/appname
> > I get the following error
> >
> > svn: PROPFIND request failed on '/public/crm'
> > svn: Can't set position pointer in file
> > '/srv/svn/repos/public/appname/db/revs/1': Invalid
> > argument

> It would help us to know what you have defined in between the
> <Location> directives in httpd.conf

> /Ram

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 30 19:31:19 2007

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.