1
### Section 1: Global Environment
3
# The directives in this section affect the overall operation of Apache,
4
# such as the number of concurrent requests it can handle or where it
5
# can find its configuration files.
9
# ServerRoot: The top of the directory tree under which the server's
10
# configuration, error, and log files are kept.
12
# NOTE! If you intend to place this on an NFS (or otherwise network)
13
# mounted filesystem then please read the LockFile documentation (available
14
# at <URL:http://httpd.apache.org/docs-2.0/mod/mpm_common.html#lockfile>);
15
# you will save yourself a lot of trouble.
17
# Do NOT add a slash at the end of the directory path.
19
ServerRoot "/etc/httpd"
22
# PidFile: The file in which the server should record its process
23
# identification number when it starts.
25
<IfModule !mpm_netware.c>
26
PidFile @SVNDIR@/httpd.pid
30
# KeepAlive: Whether or not to allow persistent connections (more than
31
# one request per connection). Set to "Off" to deactivate.
36
# MaxKeepAliveRequests: The maximum number of requests to allow
37
# during a persistent connection. Set to 0 to allow an unlimited amount.
38
# We recommend you leave this number high, for maximum performance.
40
MaxKeepAliveRequests 100
43
# KeepAliveTimeout: Number of seconds to wait for the next request from the
44
# same client on the same connection.
49
## Server-Pool Size Regulation (MPM specific)
53
# StartServers: number of server processes to start
54
# MinSpareServers: minimum number of server processes which are kept spare
55
# MaxSpareServers: maximum number of server processes which are kept spare
56
# MaxClients: maximum number of server processes allowed to start
57
# MaxRequestsPerChild: maximum number of requests a server process serves
67
# StartServers: initial number of server processes to start
68
# MaxClients: maximum number of simultaneous client connections
69
# MinSpareThreads: minimum number of worker threads which are kept spare
70
# MaxSpareThreads: maximum number of worker threads which are kept spare
71
# ThreadsPerChild: constant number of worker threads in each server process
72
# MaxRequestsPerChild: maximum number of requests a server process serves
83
# NumServers: constant number of server processes
84
# StartThreads: initial number of worker threads in each server process
85
# MinSpareThreads: minimum number of worker threads which are kept spare
86
# MaxSpareThreads: maximum number of worker threads which are kept spare
87
# MaxThreadsPerChild: maximum number of worker threads in each server process
88
# MaxRequestsPerChild: maximum number of connections per server process
99
# Listen: Allows you to bind Apache to specific IP addresses and/or
100
# ports, instead of the default. See also the <VirtualHost>
103
# Change this to Listen on specific IP addresses as shown below to
104
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
106
#Listen 12.34.56.78:80
111
# Dynamic Shared Object (DSO) Support
113
# To be able to use the functionality of a module which was built as a DSO you
114
# have to place corresponding `LoadModule' lines at this location so the
115
# directives contained in it are actually available _before_ they are used.
116
# Statically compiled modules (those listed by `httpd -l') do not need
120
# LoadModule foo_module modules/mod_foo.so
122
LoadModule access_module modules/mod_access.so
123
LoadModule auth_module modules/mod_auth.so
124
LoadModule auth_anon_module modules/mod_auth_anon.so
125
LoadModule auth_dbm_module modules/mod_auth_dbm.so
126
LoadModule auth_digest_module modules/mod_auth_digest.so
127
#LoadModule ext_filter_module modules/mod_ext_filter.so
128
LoadModule include_module modules/mod_include.so
129
LoadModule log_config_module modules/mod_log_config.so
130
LoadModule env_module modules/mod_env.so
131
LoadModule mime_magic_module modules/mod_mime_magic.so
132
LoadModule cern_meta_module modules/mod_cern_meta.so
133
LoadModule expires_module modules/mod_expires.so
134
LoadModule headers_module modules/mod_headers.so
135
LoadModule usertrack_module modules/mod_usertrack.so
136
LoadModule unique_id_module modules/mod_unique_id.so
137
LoadModule setenvif_module modules/mod_setenvif.so
139
LoadModule ssl_module modules/mod_ssl.so
141
LoadModule mime_module modules/mod_mime.so
142
LoadModule dav_module modules/mod_dav.so
143
LoadModule status_module modules/mod_status.so
144
LoadModule autoindex_module modules/mod_autoindex.so
145
LoadModule asis_module modules/mod_asis.so
146
LoadModule info_module modules/mod_info.so
147
LoadModule dav_fs_module modules/mod_dav_fs.so
148
LoadModule negotiation_module modules/mod_negotiation.so
149
LoadModule dir_module modules/mod_dir.so
150
LoadModule imap_module modules/mod_imap.so
151
LoadModule actions_module modules/mod_actions.so
152
LoadModule alias_module modules/mod_alias.so
153
LoadModule rewrite_module modules/mod_rewrite.so
154
LoadModule dav_svn_module @SVNDIR@/subversion/mod_dav_svn/.libs/mod_dav_svn.so
156
### Section 2: 'Main' server configuration
158
# The directives in this section set up the values used by the 'main'
159
# server, which responds to any requests that aren't handled by a
160
# <VirtualHost> definition. These values also provide defaults for
161
# any <VirtualHost> containers you may define later in the file.
163
# All of these directives may appear inside <VirtualHost> containers,
164
# in which case these default settings will be overridden for the
165
# virtual host being defined.
168
<IfModule !mpm_winnt.c>
169
<IfModule !mpm_netware.c>
171
# If you wish httpd to run as a different user or group, you must run
172
# httpd as root initially and it will switch.
174
# User/Group: The name (or #number) of the user/group to run httpd as.
175
# . On SCO (ODT 3) use "User nouser" and "Group nogroup".
176
# . On HPUX you may not be able to use shared memory as nobody, and the
177
# suggested workaround is to create a user www and use that user.
178
# NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
179
# when the value of (unsigned)Group is above 60000;
180
# don't use Group #-1 on these systems!
188
# ServerAdmin: Your address, where problems with the server should be
189
# e-mailed. This address appears on some server-generated pages, such
190
# as error documents. e.g. admin@your-domain.com
192
ServerAdmin you@your.address
195
# ServerName gives the name and port that the server uses to identify itself.
196
# This can often be determined automatically, but we recommend you specify
197
# it explicitly to prevent problems during startup.
199
# If this is not set to valid DNS name for your host, server-generated
200
# redirections will not work. See also the UseCanonicalName directive.
202
# If your host doesn't have a registered DNS name, enter its IP address here.
203
# You will have to access it by its address anyway, and this will make
204
# redirections work in a sensible way.
206
#ServerName new.host.name:80
209
# UseCanonicalName: Determines how Apache constructs self-referencing
210
# URLs and the SERVER_NAME and SERVER_PORT variables.
211
# When set "Off", Apache will use the Hostname and Port supplied
212
# by the client. When set "On", Apache will use the value of the
213
# ServerName directive.
218
# DocumentRoot: The directory out of which you will serve your
219
# documents. By default, all requests are taken from this directory, but
220
# symbolic links and aliases may be used to point to other locations.
222
DocumentRoot "/var/www/html"
225
# Each directory to which Apache has access can be configured with respect
226
# to which services and features are allowed and/or disabled in that
227
# directory (and its subdirectories).
229
# First, we configure the "default" to be a very restrictive set of
233
Options FollowSymLinks
238
# Note that from this point forward you must specifically allow
239
# particular features to be enabled - so if something's not working as
240
# you might expect, make sure that you have specifically enabled it
245
# This should be changed to whatever you set DocumentRoot to.
247
<Directory "/usr/local/apache2/htdocs">
250
# Possible values for the Options directive are "None", "All",
251
# or any combination of:
252
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
254
# Note that "MultiViews" must be named *explicitly* --- "Options All"
255
# doesn't give it to you.
257
# The Options directive is both complicated and important. Please see
258
# http://httpd.apache.org/docs-2.0/mod/core.html#options
259
# for more information.
261
Options Indexes FollowSymLinks
264
# AllowOverride controls what directives may be placed in .htaccess files.
265
# It can be "All", "None", or any combination of the keywords:
266
# Options FileInfo AuthConfig Limit
271
# Controls who can get stuff from this server.
279
# DirectoryIndex: sets the file that Apache will serve if a directory
282
# The index.html.var file (a type-map) is used to deliver content-
283
# negotiated documents. The MultiViews Option can be used for the
284
# same purpose, but it is much slower.
286
DirectoryIndex index.html index.html.var
289
# AccessFileName: The name of the file to look for in each directory
290
# for additional configuration directives. See also the AllowOverride
293
AccessFileName .htaccess
296
# The following lines prevent .htaccess and .htpasswd files from being
297
# viewed by Web clients.
305
# TypesConfig describes where the mime.types file (or equivalent) is
308
TypesConfig /etc/mime.types
311
# DefaultType is the default MIME type the server will use for a document
312
# if it cannot otherwise determine one, such as from filename extensions.
313
# If your server contains mostly text or HTML documents, "text/plain" is
314
# a good value. If most of your content is binary, such as applications
315
# or images, you may want to use "application/octet-stream" instead to
316
# keep browsers from trying to display binary files as though they are
319
DefaultType text/plain
322
# The mod_mime_magic module allows the server to use various hints from the
323
# contents of the file itself to determine its type. The MIMEMagicFile
324
# directive tells the module where the hint definitions are located.
326
<IfModule mod_mime_magic.c>
327
MIMEMagicFile conf/magic
330
# ErrorLog: The location of the error log file.
331
# If you do not specify an ErrorLog directive within a <VirtualHost>
332
# container, error messages relating to that virtual host will be
333
# logged here. If you *do* define an error logfile for a <VirtualHost>
334
# container, that host's errors will be logged there and not here.
336
ErrorLog @SVNDIR@/error_log
339
# LogLevel: Control the number of messages logged to the error_log.
340
# Possible values include: debug, info, notice, warn, error, crit,
346
# The following directives define some format nicknames for use with
347
# a CustomLog directive (see below).
349
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
350
LogFormat "%h %l %u %t \"%r\" %>s %b" common
351
LogFormat "%{Referer}i -> %U" referer
352
LogFormat "%{User-agent}i" agent
354
# You need to enable mod_logio.c to use %I and %O
355
#LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
358
# The location and format of the access logfile (Common Logfile Format).
359
# If you do not define any access logfiles within a <VirtualHost>
360
# container, they will be logged here. Contrariwise, if you *do*
361
# define per-<VirtualHost> access logfiles, transactions will be
362
# logged therein and *not* in this file.
364
CustomLog @SVNDIR@/access_log common
367
# IndexOptions: Controls the appearance of server-generated directory
370
IndexOptions FancyIndexing VersionSort
372
# ForceLanguagePriority allows you to serve a result page rather than
373
# MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)
374
# [in case no accepted languages matched the available variants]
376
ForceLanguagePriority Prefer Fallback
378
<Location /svn-test-work/repositories>
380
SVNParentPath @SVNDIR@/subversion/tests/clients/cmdline/svn-test-work/repositories
382
AuthName "Subversion Repository"
383
AuthUserFile @SVNDIR@/passwd
387
<Location /svn-test-work/local_tmp/repos>
389
SVNPath @SVNDIR@/subversion/tests/clients/cmdline/svn-test-work/local_tmp/repos
391
AuthName "Subversion Repository"
392
AuthUserFile @SVNDIR@/passwd