2007-01-15 23:38:11 +00:00
|
|
|
# Example configuration for a subversion repository
|
2013-05-20 21:00:10 +00:00
|
|
|
# Install the package subversion-doc and see
|
|
|
|
# /usr/share/doc/packages/subversion for the full documentation
|
|
|
|
# An online version can be found at http://svnbook.red-bean.com/
|
2007-01-15 23:38:11 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
<IfModule mod_dav_svn.c>
|
|
|
|
|
|
|
|
##
|
|
|
|
## project related HTML files
|
|
|
|
##
|
|
|
|
#<IfModule mod_alias.c>
|
|
|
|
#Alias /repos /srv/svn/html
|
|
|
|
#</IfModule>
|
|
|
|
#<Directory /srv/svn/html>
|
|
|
|
# Options +Indexes +Multiviews -FollowSymLinks
|
|
|
|
# IndexOptions FancyIndexing \
|
|
|
|
# ScanHTMLTitles \
|
|
|
|
# NameWidth=* \
|
|
|
|
# DescriptionWidth=* \
|
|
|
|
# SuppressLastModified \
|
|
|
|
# SuppressSize
|
|
|
|
#
|
|
|
|
# order allow,deny
|
|
|
|
# allow from all
|
|
|
|
#</Directory>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#<Location /repos/myproject1>
|
|
|
|
# DAV svn
|
|
|
|
# SVNPath /srv/svn/repos/myproject1
|
2013-05-20 21:00:10 +00:00
|
|
|
#
|
|
|
|
# AuthType Basic
|
|
|
|
# AuthName "Authorization Realm"
|
|
|
|
# AuthUserFile /srv/svn/user_access/myproject1_passwdfile
|
|
|
|
#
|
|
|
|
# # Limit read access to certain people
|
|
|
|
# <Limit GET PROPFIND OPTIONS REPORT>
|
|
|
|
# # uncomment to require SSL connection for password protection.
|
|
|
|
# # SSLRequireSSL
|
|
|
|
# Require group project1_committers
|
|
|
|
# Require group project1_readers
|
|
|
|
# </Limit>
|
|
|
|
#
|
2007-01-15 23:38:11 +00:00
|
|
|
# # Limit write permission to list of valid users.
|
|
|
|
# <LimitExcept GET PROPFIND OPTIONS REPORT>
|
2013-05-20 21:00:10 +00:00
|
|
|
# # uncomment to require SSL connection for password protection.
|
2007-01-15 23:38:11 +00:00
|
|
|
# # SSLRequireSSL
|
2013-05-20 21:00:10 +00:00
|
|
|
# Require project1_committers
|
2007-01-15 23:38:11 +00:00
|
|
|
# </LimitExcept>
|
2013-05-20 21:00:10 +00:00
|
|
|
#
|
2007-01-15 23:38:11 +00:00
|
|
|
#</Location>
|
|
|
|
|
2007-04-28 12:34:43 +00:00
|
|
|
##
|
|
|
|
## Hosting svn at "/"
|
|
|
|
##
|
|
|
|
#<VirtualHost *>
|
|
|
|
# ServerName svn.example.com
|
|
|
|
# ErrorLog /var/log/apache2/svn.example.com-error_log
|
|
|
|
# TransferLog /var/log/apache2/svn.example.com-access_log
|
|
|
|
# #
|
|
|
|
# # Do not set DocumentRoot. It is not needed here and just causes trouble.
|
|
|
|
# #
|
|
|
|
# # Map the error documents back to their defaults.
|
|
|
|
# # Otherwise mod_dav_svn tries to find a "error" repository.
|
|
|
|
# #
|
|
|
|
# ErrorDocument 400 default
|
|
|
|
# ErrorDocument 401 default
|
|
|
|
# ErrorDocument 403 default
|
|
|
|
# ErrorDocument 404 default
|
|
|
|
# ErrorDocument 405 default
|
|
|
|
# ErrorDocument 408 default
|
|
|
|
# ErrorDocument 410 default
|
|
|
|
# ErrorDocument 411 default
|
|
|
|
# ErrorDocument 412 default
|
|
|
|
# ErrorDocument 413 default
|
|
|
|
# ErrorDocument 414 default
|
|
|
|
# ErrorDocument 415 default
|
|
|
|
# ErrorDocument 500 default
|
|
|
|
# ErrorDocument 501 default
|
|
|
|
# ErrorDocument 502 default
|
|
|
|
# ErrorDocument 503 default
|
|
|
|
# #
|
|
|
|
# <Location />
|
|
|
|
# DAV svn
|
2013-05-20 21:00:10 +00:00
|
|
|
# SVNParentPath /srv/svn/repos/
|
2007-04-28 12:34:43 +00:00
|
|
|
# SVNListParentPath on
|
|
|
|
# AuthType Basic
|
|
|
|
# AuthName "subversion repository"
|
|
|
|
# AuthBasicProvider file
|
|
|
|
# AuthUserFile /srv/svn/auth/svn.example.org.htpasswd
|
|
|
|
# SetOutputFilter DEFLATE
|
|
|
|
# <LimitExcept GET PROPFIND OPTIONS REPORT>
|
|
|
|
# Require valid-user
|
|
|
|
# </LimitExcept>
|
2012-02-14 01:06:19 +00:00
|
|
|
# #
|
|
|
|
# # Optional configuration for mod_dontdothat
|
|
|
|
# # prevent users from causing high load on the server, e.g. checking out
|
|
|
|
# # the root of the tree or the tags or branches directories
|
|
|
|
# #
|
|
|
|
# #<IfModule mod_dontdothat.c>
|
|
|
|
# # DontDoThatConfigFile /srv/svn/mod_dontdothat.config
|
|
|
|
# # DontDoThatDisallowReplay off
|
|
|
|
# #</IfModule>
|
2007-04-28 12:34:43 +00:00
|
|
|
# </Location>
|
|
|
|
#</VirtualHost>
|
|
|
|
|
2007-01-15 23:38:11 +00:00
|
|
|
</IfModule>
|