I would like to grant read/write access for one of our development team to access only a particular sub directory in a SVN repository. I achieved this using the directive "AuthzSVNAccessFile" in subversion.conf(httpd).
Let Say I am having the following directory structure in my svn repo:
- Workspace
- Branches
- Mobile
- App
- Phase1
- Phase2
- Phase3 (This is the directory I want to grant)
.....
Phase3 can be accessible by our dev team using the below url
http://mydomain.com/svn/Workspace/Branches/Mobile/App/Phase3
How do I create a short url like the following to access the above one.
http://mydomain.com/svn/Phase3
Please help me to get this done. Thanks.
My apache configurations are below:
<Location /Phase3>
DAV svn
ReWriteEngine On
ReWriteRule ^Phase3$ Workspace/Branches/Mobile/App/Phase3
SVNParentPath /var/www/svn
AuthzSVNAccessFile /var/www/svn/Workspace/conf/authz
Require valid-user
AuthType Basic
AuthName "Subversion repositories"
AuthUserFile /etc/svn-auth-users
</Location>