On Nov 19, 2009, at 11:43 AM, Greg Larkin wrote:

Glen Johnson wrote:
I am attempting to use FreeBSD as my Subversion server.  I have
Subversion working, and I have Apache working.  However when I try to
use http:/my_server/svn/my_project I get:
<?xml version="1.0" encoding="utf-8"?>
<D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns";
<m:human-readable errcode="2">
Could not open the requested SVN filesystem

1 I tried chmod -R 777 /home/svn/repos.
2 I tried recompiling apache, db, and subversion.
3 I looked at /var/log/http-error.log (partial list below)
[Thu Nov 19 09:35:52 2009] [notice] Graceful restart requested, doing
[Thu Nov 19 09:35:53 2009] [notice] Digest: generating secret for digest
authentication ...
[Thu Nov 19 09:35:53 2009] [notice] Digest: done
[Thu Nov 19 09:35:54 2009] [notice] Apache/2.2.13 (FreeBSD)
mod_ssl/2.2.13 OpenSSL/0.9.8e DAV/2 SVN/1.6.6 configured -- resuming
normal operations
[Thu Nov 19 09:36:10 2009] [error] [client] (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] Could not fetch
resource information.  [500, #0]
[Thu Nov 19 09:36:10 2009] [error] [client] Could not open
the requested SVN filesystem  [500, #2]

What am I missing?
Thank you,

Hi Glen,

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

freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to