我有以下设置:
<VirtualHost *:80>
ServerName svn.project1.com
<Location />
DAV svn
SVNPath /svn
</Location>
</VirtualHost>
<VirtualHost *:80>
ServerName svn.project2.com
<Location />
DAV svn
SVNPath /svn
</Location>
</VirtualHost>
当我导航到http://svn.project1.com/或http://svn.project1.com/时,它会提供一个包含两个存储库的目录列表:
Revision 1270: /
* project1/
* project2/
Powered by Subversion version 1.4.4 (r25188)
如何让两个主机都指向各自的存储库?
我希望能够使用如下 URL:
http://svn.project1.com/trunk/
代替:
http://svn.project1.com/project1/trunk/
从而防止从 project1 访问例如 project2,即:
http://svn.project1.com/project2/