File sysconfig.apache2 of Package apache2 (Revision 52)
Currently displaying revision 52, show latest
1
## Path: Network/WWW/Apache2
2
## Description: Configuration for Apache 2
3
4
## Type: string
5
## Default: ""
6
## ServiceRestart: apache2
7
#
8
# Here you can name files, separated by spaces, that should be Include'd from
9
# httpd.conf.
10
#
11
# This allows you to add e.g. VirtualHost statements without touching
12
# /etc/apache2/httpd.conf itself, which makes upgrading easier.
13
#
14
APACHE_CONF_INCLUDE_FILES=""
15
16
## Type: string
17
## Default: ""
18
## ServiceRestart: apache2
19
#
20
# Here you can name directories, separated by spaces, that should be Include'd
21
# from httpd.conf.
22
#
23
# All files contained in these directories will be recursively included by apache.
24
# If a pattern like *.conf is appended, apache will use it.
25
#
26
# Examples: "/etc/apache2/my_conf/"
27
# "/etc/apache2/virtual_hosts/*.conf"
28
# "local/*.conf /srv/www/virtual/"
29
#
30
APACHE_CONF_INCLUDE_DIRS=""
31
32
## Type: string
33
## Default: "actions alias auth_basic authz_host authn_file authz_groupfile authz_default authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir php5"
34
## ServiceRestart: apache2
35
#
36
# [It might look silly to not simply edit httpd.conf for the LoadModule statements.
37
# However, since the LoadModule statements might need an absolute path to the modules,
38
# switching between MPMs can be quite a hassle. It's easier to just give the names here.]
39
#
40
# * list of all modules shipped with the base distribution:
41
#
42
@@all_modules@@
43
#
44
# see http://httpd.apache.org/docs-2.2/mod/ !
45
#
46
# * It pays to use IfDefine statements... like
47
# <IfModule mod_xyz.c>
48
# ....
49
# </IfModule>
50
#
51
# * In the APACHE_MODULES variable, you can use mod_xyz or just xyz syntax.
52
# You may also name an absolute path if you like.
53
#
54
# * NOTE ON SSL: before you can use mod_ssl, you need a server certificate.
55
# A test certificate can be created by entering
56
# 'cd /usr/share/doc/packages/apache2; ./certificate.sh' as root.
57
# Also, you need to set the ServerName inside the <VirtualHost _default_:443>
58
# block to the fully qualified domain name (see /etc/HOSTNAME).
59
# * if your server certificate is protected by a passphrase you should increase the
60
# APACHE_START_TIMEOUT (see above)
61
# * to finally enable ssl support, you need to add 'SSL' to APACHE_SERVER_FLAGS
62
# below.
63
#
64
# * modules listed here will be ignored if they are not installed
65
#
66
#
67
# EXAMPLES:
68
#
69
# fairly minimal
70
# APACHE_MODULES="authz_host alias auth dir log_config mime setenvif"
71
#
72
# apache's default installation
73
# APACHE_MODULES="authz_host actions alias asis auth autoindex cgi dir imap include log_config mime negotiation setenvif status userdir"
74
# your settings
75
APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user authn_dbm autoindex cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir php5"
76
77
78
## Type: string
79
## Default: ""
80
## ServiceRestart: apache2
81
#
82
# Additional server flags:
83
#
84
# Put here any server flags ("Defines") that you want to hand over to
85
# httpd at start time, or other command line flags.
86
#
87
# Background: Any directives within an <IfDefine flag>...</IfDefine>
88
# section are only processed if the flag is defined.
89
# This allows to write configuration which is active only in a
90
# special cases, like during server maintenance, or for testing
91
# something temporarily.
92
#
93
# Notably, to enable ssl support, 'SSL' needs to be added here.
94
# To enable the server-status, 'STATUS' needs to be added here.
95
#
96
# It does not matter if you write flag1, -D flag1 or -Dflag1.
97
# Multiple flags can be given as "-D flag1 -D flag2" or simply "flag1 flag2".
98
#
99
# Specifying such flags here is equivalent to giving them on the commandline.
100
# (e.g. via rcapache2 start -DReverseProxy)
101
#
102
# Example:
103
# "SSL STATUS AWSTATS SVN_VIEWCVS no_subversion_today"
104
#
105
APACHE_SERVER_FLAGS=""
106
107
## Type: string
108
## Default: ""
109
## ServiceRestart: apache2
110
#
111
# Which config file do you want to use?
112
# (if not set, /etc/apache2/httpd.conf is used.)
113
# It is unusual to need to use this setting.
114
#
115
# Note about ulimits:
116
# if you want to set ulimits, e.g. to increase the max number of open file handle,
117
# or to allow core files, you can do so by editing /etc/sysconfig/apache2 and
118
# simply write the ulimit commands into that file.
119
# Example:
120
# ulimit -n 16384
121
# ulimit -H -n 16384
122
# ulimit -c unlimited
123
# See the output of "help ulimit" in the bash, or "man 1 ulimit".
124
#
125
APACHE_HTTPD_CONF=""
126
127
## Type: list(prefork,worker)
128
## Default: ""
129
## ServiceRestart: apache2
130
#
131
# MPM (multi-processing module) to use.
132
#
133
# Needed to determine with which MPM apache will run, as well as
134
# against which header files modules will be built.
135
#
136
# If not set, the system will simply pick one of the installed MPMs.
137
#
138
# The implementation of the logic is in /usr/share/apache2/find_mpm,
139
# a script which can be used standalone as well if needed.
140
#
141
APACHE_MPM=""
142
143
## Type: string
144
## Default: ""
145
## ServiceReload: apache2
146
#
147
# email address of the server administrator (ServerAdmin directive)
148
# This address is added to the server's responses if APACHE_SERVERSIGNATURE
149
# is set to "email".
150
#
151
# If empty ("") it defaults to webmaster@$FQHOSTNAME, where FQHOSTNAME is
152
# taken from /etc/HOSTNAME.
153
#
154
# Note that ServerAdmin directives inside VirtualHost statements are not
155
# changed, even not the one in the stock SSL virtual host block.
156
#
157
APACHE_SERVERADMIN=""
158
159
## Type: string
160
## Default: ""
161
## ServiceReload: apache2
162
#
163
# ServerName gives the name and port that the server uses to identify itself.
164
# This can often be determined automatically, but we recommend you specify
165
# it explicitly to prevent problems during startup.
166
#
167
# If this is not set to valid DNS name for your host, server-generated
168
# redirections will not work. See also the UseCanonicalName directive.
169
#
170
# If your host doesn't have a registered DNS name, enter its IP address here.
171
# You will have to access it by its address anyway, and this will make
172
# redirections work in a sensible way.
173
#
174
APACHE_SERVERNAME=""
175
176
## Type: integer
177
## Default: 2
178
#
179
# timeout during server startup (seconds)
180
# after this time, the start script decides wether the httpd process started without error.
181
#
182
# Increase it, if you use mod_ssl and your certificate is passphrase protected!
183
#
184
APACHE_START_TIMEOUT="2"
185
186
## Type: list(on,off,email)
187
## Default: "on"
188
## ServiceReload: apache2
189
#
190
# Configures the footer on server-generated documents
191
# This correlates to the ServerSignature directive.
192
#
193
APACHE_SERVERSIGNATURE="on"
194
195
## Type: list(debug,info,notice,warn,error,crit,alert,emerg)
196
## Default: "warn"
197
## ServiceReload: apache2
198
#
199
# LogLevel: Control the number of messages logged to the error_log.
200
#
201
APACHE_LOGLEVEL="warn"
202
203
## Type: string
204
## Default: "/var/log/apache2/access_log combined"
205
## ServiceRestart: apache2
206
#
207
# The location and format of the access logfile (Common Logfile Format).
208
# If you do not define any access logfiles within a <VirtualHost>
209
# container, they will be logged here. Contrarywise, if you *do*
210
# define per-<VirtualHost> access logfiles, transactions will be
211
# logged therein and *not* in this file.
212
#
213
# Simply set it to empty, if you configure it yourself somewhere else.
214
#
215
# Examples:
216
#
217
# If you would like to have agent and referer logfiles:
218
#
219
# setting it to "/var/log/apache2/referer_log referer, /var/log/apache2/agent_log agent"
220
# corresponds to
221
# CustomLog /var/log/apache2/referer_log referer
222
# CustomLog /var/log/apache2/agent_log agent
223
#
224
# If you prefer a single logfile with access, agent, and referer information
225
# (Combined Logfile Format):
226
#
227
# setting it to "/var/log/apache2/access_log combined"
228
# corresponds to
229
# CustomLog /var/log/apache2/access_log combined
230
#
231
APACHE_ACCESS_LOG="/var/log/apache2/access_log combined"
232
233
## Type: list(On,Off,DNS)
234
## Default: "Off"
235
## ServiceReload: apache2
236
#
237
# UseCanonicalName: Determines how Apache constructs self-referencing
238
# URLs and the SERVER_NAME and SERVER_PORT variables.
239
# When set "Off", Apache will use the Hostname and Port supplied
240
# by the client. When set "On", Apache will use the value of the
241
# ServerName directive.
242
#
243
APACHE_USE_CANONICAL_NAME="off"
244
245
## Type: list(Major,Minor,Minimal,ProductOnly,OS,Full)
246
## Default: "OS"
247
## ServiceReload: apache2
248
#
249
# How much information the server response header field contains about the server.
250
# (installed modules, versions, etc.)
251
# see http://httpd.apache.org/docs-2.2/mod/core.html#servertokens
252
#
253
APACHE_SERVERTOKENS="OS"
254
255
## Type: list(on,off)
256
## Default: "off"
257
## ServiceReload: apache2
258
#
259
# If mod_status is used, include extended information about the server, like
260
# CPU usage, in the status report. It is a server-wide setting, and it can cost
261
# some performance!
262
#
263
APACHE_EXTENDED_STATUS="off"
264
265
266