使用 apache2 作为 svn 仓库的访问接口

安装 apache 的 svn 支持

aptitude install libapache2-svn

svn.apache.conf 配置文件内容

<Location /svnroot>
  DAV svn
  SVNParentPath /home/rex/svnroot

  # Authentication: Basic
  AuthName "Subversion repository"
  AuthType Basic
  AuthBasicProvider file
  AuthUserFile /home/rex/trac.htpasswd

  # Authorization: Authenticated users only
  Require valid-user

  # Authorization: Path-based access …
“Stay hungry, Stay foolish.”