Svn

From Halfface
Revision as of 21:26, 3 September 2007 by 192.168.2.124 (talk)
Jump to navigation Jump to search

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>