I have 2 svn repos on my EC2 instance.
They are located in /ebs/svn/repo1
& /ebs/svn/repo2
.
I have created a domain alias svn.mydomain.com
, to point to the parent directory of above (/ebs/svn
).
I woud like to access each of the above repo's using the following URL format:
svn.mydomain.com/repo1
svn.mydomain.com/repo2
Currenly I have the repo1 working with the following vhosts config.
<VirtualHost *:80>
ServerName svn.mydomain.com
ServerAlias svn.mydomain.com
ErrorLog /var/www/html/log/svn.mydomain.com-log
<Location "/" >
DAV svn
SVNPath /ebs/svn/repo1
AuthType Basic
AuthName "SVN - Private - Repos"
AuthUserFile /ebs/svn/login/svn-auth-conf
Require valid-user
</Location>
</VirtualHost>
The problem is, I can only get access to repo1
through the above vhosts config.
I would like to access both repo's in the following format:
svn.mydomain.com/repo1
svn.mydomain.com/repo2
What do I need to change to access my svn repo's by their directories?