SVN服务器搭建

分类: 直播365体育 时间: 2026-11-07 07:52:24 作者: admin 阅读: 5535
SVN服务器搭建

说明

每行不能以空格开始,且等号两端要有一个空格。

anon-access = read

auth-access = write

password-db = passwd

authz-db = authz

realm = /var/svn/svnrepos

[general]

### The anon-access and auth-access options control access to the

### repository for unauthenticated (a.k.a. anonymous) users and

### authenticated users, respectively.

### Valid values are "write", "read", and "none".

### Setting the value to "none" prohibits both reading and writing;

### "read" allows read-only access, and "write" allows complete

### read/write access to the repository.

### The sample settings below are the defaults and specify that anonymous

### users have read-only access to the repository, while authenticated

### users have read and write access to the repository.

anon-access = read

auth-access = write

### The password-db option controls the location of the password

### database file. Unless you specify a path starting with a /,

### the file's location is relative to the directory containing

### this configuration file.

### If SASL is enabled (see below), this file will NOT be used.

### Uncomment the line below to use the default password file.

password-db = passwd

### The authz-db option controls the location of the authorization

### rules for path-based access control. Unless you specify a path

### starting with a /, the file's location is relative to the

### directory containing this file. The specified path may be a

### repository relative URL (^/) or an absolute file:// URL to a text

### file in a Subversion repository. If you don't specify an authz-db,

### no path-based access control is done.

### Uncomment the line below to use the default authorization file.

authz-db = authz

### The groups-db option controls the location of the file with the

### group definitions and allows maintaining groups separately from the

### authorization rules. The groups-db file is of the same format as the

### authz-db file and should contain a single [groups] section with the

### group definitions. If the option is enabled, the authz-db file cannot

### contain a [groups] section. Unless you specify a path starting with

### a /, the file's location is relative to the directory containing this

### file. The specified path may be a repository relative URL (^/) or an

### absolute file:// URL to a text file in a Subversion repository.

### This option is not being used by default.

# groups-db = groups

### This option specifies the authentication realm of the repository.

### If two repositories have the same authentication realm, they should

### have the same password database, and vice versa. The default realm

### is repository's uuid.

realm = /var/svn/svnrepos

### The force-username-case option causes svnserve to case-normalize

### usernames before comparing them against the authorization rules in the

### authz-db file configured above. Valid values are "upper" (to upper-

相关文章

琐聒的解释及意思
圆锥的画法
爷们的句子(爷们儿的句子)