PDA

View Full Version : SVN per-user configuration



jasper
02-05-2008, 02:56 PM
Hello,


I've just installed SVN on my DA server and compiled/included all required modules. Now, I wonder how to configure repositories on per-user basis.

By default, every SVN tutorial uses httpd config like that:

<Location /svnlocation>
DAV svn
SVNPath /pathtosvnrepo

...
...
</Location>

BUT, the Location section makes /svnlocation available on all domains being hosted which is not what I want it to be.

Does anyone know how to provide Subversion for every user separately so that I could make separate repositories?

Thanks for any suggestions!

chatwizrd
02-05-2008, 04:45 PM
Hello,


I've just installed SVN on my DA server and compiled/included all required modules. Now, I wonder how to configure repositories on per-user basis.

By default, every SVN tutorial uses httpd config like that:

<Location /svnlocation>
DAV svn
SVNPath /pathtosvnrepo

...
...
</Location>

BUT, the Location section makes /svnlocation available on all domains being hosted which is not what I want it to be.

Does anyone know how to provide Subversion for every user separately so that I could make separate repositories?

Thanks for any suggestions!

Put it in the virtual host tag.

jasper
02-06-2008, 03:13 AM
Put it in the virtual host tag.


Already tried...

When I put it in VirtualHost, apache says that "DAV svn" is not allowed here.

furnace
06-06-2009, 04:13 PM
No, he means put the whole <Location></Location> tag inside the <VirtualHost> tag. I'm having really wierd errors with subversion, just can't get it to work properly *bangs head against wall*