SVN - Authentication
Setting up Authentication for SVN is not tough too.
First, stop Apache server - net stop apache2.2
Second, create a htpasswd file with the following command
Third, in httpd.conf, add the following to Module path
LoadModule authz_svn_module modules/mod_authz_svn.so
Fourth, in httpd.conf, add the following to Location tag
DAV svn
SVNPath "C:\svn_repository"
AuthType Basic
AuthName "Subversion repository"
AuthUserFile "C:\Program Files\CollabNet Subversion Server\httpd\conf\svn-auth-file "
Require valid-user
Lastly, restart Apache server.
That all, you will required to use username/password to retrieve your documents.
First, stop Apache server - net stop apache2.2
Second, create a htpasswd file with the following command
htpasswd -cm svn-auth-file your-name
Third, in httpd.conf, add the following to Module path
LoadModule authz_svn_module modules/mod_authz_svn.so
Fourth, in httpd.conf, add the following to Location tag
DAV svn
SVNPath "C:\svn_repository"
AuthType Basic
AuthName "Subversion repository"
AuthUserFile "C:\Program Files\CollabNet Subversion Server\httpd\conf\svn-auth-file "
Require valid-user
Lastly, restart Apache server.
That all, you will required to use username/password to retrieve your documents.
Comments
Post a Comment