View Single Post
  #3  
Old 29th October 2005, 20:53
sinosmond sinosmond is offline
Junior Member
 
Join Date: Oct 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
You mean you want to create a subversion account for every user?
Yes, like www.csoft.net

==============================================
I think, Subversion support maybe 4 case:

1. repo at / , one repo

$ svnadmin create /home/www/web1/web
------------------------------------------------------------
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
<Location />
DAV svn
SVNPath /home/www/web1/web

AuthType Basic
AuthName "Subversion repository"
AuthUserFile /home/www/web1/.htpasswd

<LimitExcept GET PROPFIND OPTIONS REPORT>
SSLRequireSSL
Require valid-user
</LimitExcept>
</Location>

2. repos at / , multi repos

$ svnadmin create /home/www/web1/web/project1
$ svnadmin create /home/www/web1/web/project2
------------------------------------------------------------
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
<Location />
DAV svn
SVNParentPath /home/www/web1/web

AuthType Basic
AuthName "Subversion repository"
AuthUserFile /home/www/web1/.htpasswd

<LimitExcept GET PROPFIND OPTIONS REPORT>
SSLRequireSSL
Require valid-user
</LimitExcept>
</Location>

3. repo at /svn , one repo

$ svnadmin create /home/www/web1/web/svn
------------------------------------------------------------
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
<Location /svn>
DAV svn
SVNPath /home/www/web1/web/svn

AuthType Basic
AuthName "Subversion repository"
AuthUserFile /home/www/web1/.htpasswd

<LimitExcept GET PROPFIND OPTIONS REPORT>
SSLRequireSSL
Require valid-user
</LimitExcept>
</Location>

4. repos at /svn , multi repos

$ svnadmin create /home/www/web1/web/svn/project1
$ svnadmin create /home/www/web1/web/svn/project2
------------------------------------------------------------
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
<Location /svn>
DAV svn
SVNParentPath /home/www/web1/web/svn

AuthType Basic
AuthName "Subversion repository"
AuthUserFile /home/www/web1/.htpasswd

<LimitExcept GET PROPFIND OPTIONS REPORT>
SSLRequireSSL
Require valid-user
</LimitExcept>
</Location>
------------------------------------------------------------

maybe more...


Quote:
Originally Posted by falko
What is Trac?
Trac Project

Last edited by sinosmond; 29th October 2005 at 22:10.
Reply With Quote