I'm attempting to setup private user svn repos using apache dav_svn. I would like to have users access the generic url "private.svn.xxx.xxx" at which point they would be prompted with a login. Once they log in, it would use their username dynamically in the SVNParentPath (setting it to /home/<username>/.repo). I would also like to not have to add a new config for each new user... If I add a new user to the system, I would like them to automatically gain access to their repo. I'm already authenticating using external auth and pwauth, so the users unix accounts are already linked.
Here is my config for the common repo that is working
Is this even possible?
Here is my config for the common repo that is working
Code:
<VirtualHost *:80>
ServerName common.svn.xxx.xxx
ServerAdmin xxxx@xxx.xxx
DocumentRoot /var/[URL unfurl="true"]www/SVN[/URL]
AddExternalAuth pwauth /usr/sbin/pwauth
SetExternalAuthMethod pwauth pipe
<Location /repos>
DAV svn
SVNParentPath /var/[URL unfurl="true"]www/common_repos/[/URL]
SVNListParentPath on
SVNIndexXSLT "/repos-web/view/repos.xsl"
AuthType Basic
Require valid-user
AuthName "Subversion Repositories"
AuthBasicProvider external
AuthExternal pwauth
</Location>
</VirtualHost>
Is this even possible?