--- On Thu, 11/19/09, Glen Johnson <[email protected]> wrote:
> >> 1 I tried chmod -R 777 /home/svn/repos.
> >> normal operations
> >> [Thu Nov 19 09:36:10 2009] [error] [client
> 192.168.2.12] (20014)Internal
> >> error: Can't open file
> '/usr/home/svn/repos/default/format': No such
> >> file or directory
> >> [Thu Nov 19 09:36:10 2009] [error] [client
> 192.168.2.12] Could not fetch
> >> resource information. [500, #0]
> >> [Thu Nov 19 09:36:10 2009] [error] [client
> 192.168.2.12] Could not open
> >> the requested SVN filesystem [500, #2]
> > Please post the relevant bits from your httpd.conf
> where you set up the
> > SVNPath, etc. It looks like maybe the SVNPath
> directive is pointing to
> > the wrong place.
> >
> Thanks for your reply. I currently have this info in
> /usr/local/etc/apache22/Includes/svn.conf. Apache22
> loads all the conf files in this directory when httpd.conf
> is loaded.
> <Location /svn>
> DAV svn
> SVNParentPath /usr/home/svn/repos
> SVNListParentPath on
> SVNPathAuthz off
> SVNIndexXSLT "/data-dist/svnindex.xsl"
>
> # anonymous first
> Satisfy Any
> Require valid-user
>
> # authenticating them valid ones
> AuthType Basic
> AuthName "Subversion Repositories"
> AuthUserFile /usr/home/svn/access/users
> </Location>
Here's one of mine that I think I've minimally modded to fit your paths. Could
you try dropping that into place and see if it fails? That would at least cut
down the places it may go wrong (e.g. SVNParentPath...). You'll need to
htpasswd a new user into the "new" AuthUserFile. Then try the /test and see
what happens.
<Location /test>
DAV svn
SVNPath /usr/home/svn/repos/<FIXME_TO_A_SVN_DIR>
AuthType Basic
AuthName "Documentation Repository"
AuthUserFile /usr/home/svn/access/users.new
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
</Location>
-Rich
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"