On Oct 16, 2006, at 15:50, P Tai wrote:
> I followed the INSTALL document –
> - build and installed Apache httpd 2, started httpd as user svn.
>    Following line added to httpd.conf:
>    .....
>    LoadModule dav_svn_module     modules/mod_dav_svn.so
>    LoadModule authz_svn_module   modules/mod_authz_svn.so
>    .....
>    <Location /svnroot/>
>       DAV svn
>       SVNParentPath /usr/local/svnroot
>    </Location>
Using SVNParentPath means that /usr/local/svnroot should be a  
directory containing multiple repositories, however...
> [13:30:35 root@saruman]$ cd /usr/local
>
> [13:31:41 root@saruman]$ ll svnroot
> total 56
> drwxrwsr-x  2 svn svn 4096 Oct 16 11:54 conf
> drwxrwsr-x  2 svn svn 4096 Oct 16 11:54 dav
> drwxrwsr-x  5 svn svn 4096 Oct 16 11:54 db
> -r--r--r--  1 svn svn    2 Oct 16 11:54 format
> drwxrwsr-x  2 svn svn 4096 Oct 16 11:54 hooks
> drwxrwsr-x  2 svn svn 4096 Oct 16 11:54 locks
> -rw-rw-r--  1 svn svn  229 Oct 16 11:54 README.txt
...we see that your /usr/local/svnroot is itself a repository. So,  
decide: Do you want to have multiple repositories, or a single one?  
If multiple, remove the contents of /usr/local/svnroot and create  
multiple repositories inside it:
cd /usr/local/svnroot
rm -rf *
svnadmin create repo1
svnadmin create repo2
etc. On the other hand, if you want a single repository, change  
SVNParentPath in your apache conf to SVNPath.
How did you decide that you should use SVNParentPath for a single  
repository? Many people write to this list having made this same  
mistake, and if there's some tutorial out there that's suggesting  
this, or something unclear in the book, I'd like to know where it is  
so we can get it corrected so others don't have the same problem.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 17 00:17:45 2006