summaryrefslogtreecommitdiff
path: root/devel/subversion/files/220_subversion.conf.sample.in
blob: 449ecd8557b0ae9c4cfed7d05f8a0a14837d2578 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
## vim: set filetype=apache:
##
## module file for subversion
##
## PROVIDE: mod_dav_svn mod_authz_svn mod_dontdothat
## REQUIRE: mod_dav

## make sure the following module is activated (httpd.conf or here)
##  LoadModule dav_module %%APACHEMODDIR%%/mod_dav.so


## ==========================================================================
## Subversion modules
## ==========================================================================
#LoadModule dav_svn_module     %%APACHEMODDIR%%/mod_dav_svn.so
#LoadModule authz_svn_module   %%APACHEMODDIR%%/mod_authz_svn.so
#LoadModule dontdothat_module  %%APACHEMODDIR%%/mod_dontdothat.so


## ==========================================================================
## Example multi repo configuration from
##   http://svnbook.red-bean.com/
##
## The Printed book can be ordered from
##   http://svnbook.red-bean.com/buy/
##
## ==========================================================================
## Required apache24 modules for the example below:
##	mod_alias mod_auth_digest, mod_authn_core, mod_authn_file,
##	mod_authz_core, mod_authz_user, mod_dav
##
## ==========================================================================
##
## The trailing '/' in /svn/ is needed to browse repos with standart browser!
##	RedirectMatch ^(/svn)$ $1/
##
## Tuning:
##	KeepAlive on
##	MaxKeepAliveRequests 1000
##
##	# http://subversion.apache.org/docs/release-notes/1.7.html#server-performance-tuning
##	# Calculate your own values!
##	# For mod_dav_svn, a 1GB cache configuration with maximum data coverage looks like this 
##	<IfModule dav_svn_module>
##	    SVNInMemoryCacheSize 1048576
##	    SVNCacheFullTexts on
##	    SVNCacheTextDeltas on
##	</IfModule>
##
## Multiple Repos with Digest auth:
## - AuthName is an arbitrary name that you choose for the authentication
##   domain. Most browsers display this name in the dialog box when prompting
##   for username and password.
## - AuthType specifies the type of authentication to use.
## - AuthUserFile specifies the location of the password file to use.
##
##<IfModule dav_svn_module>
##<Location /svn/>
##	<ifModule mime_module>
##		RemoveEncoding  .gz .tgz .Z
##		RemoveType      .gz .tgz .Z
##	</ifModule>
##
##	# Enable Subversion
##	DAV svn
##
##	# Directory containing all repository for this path
##	SVNParentPath /space/svn/
##
##	# List repositories collection
##	SVNListParentPath on
##
##	# Disable WebDAV automatic versioning
##	SVNAutoversioning off
##
##	# Return a descriptive name for the repository.
##	SVNReposName "Project XYZ repo"
##
##	# Anonymous access
##	AuthzSVNAnonymous off
##
##	# XSL to display files
##	SVNIndexXSLT "/style/svnindex.xsl"
##
##	# Authentication: Digest
##	AuthType Digest
##	AuthName "SVN-repo"
##	AuthDigestDomain /svn/ http://mirror.my.dom/svn2/
##
##	# You can use the htdigest program to create the password database:
##	#   htdigest -c "%%APACHEETCDIR%%/svn-auth.passwd" SVN-repo admin
##	AuthDigestProvider file
##	AuthUserFile %%APACHEETCDIR%%/svn-auth.passwd
##
##	# Authorization: Authenticated users only
##	Require valid-user
##
##	# Do not limit large update requests
##	LimitXMLRequestBody 0
##</Location>
##</IfModule>
## ==========================================================================