Svn: Difference between revisions

From Halfface
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 16: Line 16:
     Require valid-user
     Require valid-user
  </Directory>
  </Directory>
<Location /svn/cfengine>
  DAV svn
  SVNPath /www/svn/cfengine
  AuthzSVNAccessFile /etc/httpd/conf/svnauthz.conf
  AuthType Basic
  AuthName "Subversion repository cfengine"
  AuthUserFile /etc/httpd/conf/passwords
  Order deny,allow
  Require valid-user
</Location>

Revision as of 21:26, 3 September 2007

install svn.

yum install mod_dav_svn

svnadmin create /www/www-halfface/svn

chown -R apache.apache /www/www-halfface/svn chmod g+s /www/www-halfface/svn/db

<Directory /www/www-halfface/svn>
   DAV svn
   SVNPath /www/www-halfface/svn
   AuthType Basic
   AuthName "Subversion Repository"
   AuthUserFile /etc/httpd/conf/passwd
   AuthzSVNAccessFile /etc/httpd/conf/svnauthz.conf
   Require valid-user
</Directory>
<Location /svn/cfengine>
  DAV svn
  SVNPath /www/svn/cfengine
  AuthzSVNAccessFile /etc/httpd/conf/svnauthz.conf
  AuthType Basic
  AuthName "Subversion repository cfengine"
  AuthUserFile /etc/httpd/conf/passwords
  Order deny,allow
  Require valid-user
</Location>