36 ##
37
38 #
39 # Based upon the NCSA server configuration files originally by Rob McCool.
40 #
41 # This is the main Apache server configuration file. It contains the
42 # configuration directives that give the server its instructions.
43 # See <URL:http://www.apache.org/docs/> for detailed information about
44 # the directives. mod_ipp specific directives are described in the
45 # mod_ipp(4) man page.
46 #
47
48 ### Section 1: Global Environment
49 #
50 # The directives in this section affect the overall operation of Apache,
51 # such as the number of concurrent requests it can handle or where it
52 # can find its configuration files.
53 #
54
55 #
56 # ServerType is either inetd, or standalone. Inetd mode is only supported on
57 # Unix platforms.
58 #
59 ServerType standalone
60
61 #
62 # ServerRoot: The top of the directory tree under which the server's
63 # configuration, error, and log files are kept.
64 #
65 # NOTE! If you intend to place this on an NFS (or otherwise network)
66 # mounted filesystem then please read the LockFile documentation
67 # (available at <URL:http://www.apache.org/docs/mod/core.html#lockfile>);
68 # you will save yourself a lot of trouble.
69 #
70 ServerRoot "/usr/apache"
71
72 #
73 # The LockFile directive sets the path to the lockfile used when Apache
74 # is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or
75 # USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at
76 # its default value. The main reason for changing it is if the logs
77 # directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL
78 # DISK. The PID of the main server process is automatically appended to
79 # the filename.
80 #
81 #LockFile /var/run/httpd.lock
82 LockFile /var/run/httpd-standalone-ipp.lock
83
84 #
85 # PidFile: The file in which the server should record its process
86 # identification number when it starts.
87 #
88 PidFile /var/run/httpd-standalone-ipp.pid
89
90 #
175 # request per connection. For example, if a child process handles
176 # an initial request and 10 subsequent "keptalive" requests, it
177 # would only count as 1 request towards this limit.
178 #
179 MaxRequestsPerChild 10
180
181 #
182 # Dynamic Shared Object (DSO) Support
183 #
184 # To be able to use the functionality of a module which was built as a DSO you
185 # have to place corresponding `LoadModule' lines at this location so the
186 # directives contained in it are actually available _before_ they are used.
187 # Please read the file http://httpd.apache.org/docs/dso.html for more
188 # details about the DSO mechanism and run `httpd -l' for the list of already
189 # built-in (statically linked and thus always available) modules in your httpd
190 # binary.
191 #
192 # Note: The order in which modules are loaded is important. Don't change
193 # the order below without expert advice.
194 #
195 LoadModule access_module libexec/mod_access.so
196 LoadModule alias_module libexec/mod_alias.so
197 LoadModule auth_module libexec/mod_auth.so
198 LoadModule mime_module libexec/mod_mime.so
199 LoadModule mime_magic_module libexec/mod_mime_magic.so
200 LoadModule ipp_module libexec/mod_ipp.so
201
202 # Reconstruction of the complete module list from all available modules
203 # (static and shared ones) to achieve correct module execution order.
204 # [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]
205 ClearModuleList
206 AddModule mod_access.c
207 AddModule mod_alias.c
208 AddModule mod_auth.c
209 AddModule mod_mime.c
210 AddModule mod_mime_magic.c
211 AddModule mod_ipp.c
212 AddModule mod_so.c
213
214 ### Section 2: 'Main' server configuration
215 #
216 # The directives in this section set up the values used by the 'main'
217 # server, which responds to any requests that aren't handled by a
218 # <VirtualHost> definition. These values also provide defaults for
219 # any <VirtualHost> containers you may define later in the file.
220 #
221 # All of these directives may appear inside <VirtualHost> containers,
222 # in which case these default settings will be overridden for the
223 # virtual host being defined.
224 #
225
226 #
227 # If your ServerType directive (set earlier in the 'Global Environment'
228 # section) is set to "inetd", the next few directives don't have any
229 # effect since their settings are defined by the inetd configuration.
230 # Skip ahead to the ServerAdmin directive.
231 #
232
233 #
234 # Port: The port to which the standalone server listens. For
235 # ports < 1023, you will need httpd to be run as root initially.
236 #
237 Port 631
238
239 #
240 # If you wish httpd to run as a different user or group, you must run
241 # httpd as root initially and it will switch.
242 #
243 # User/Group: The name (or #number) of the user/group to run httpd as.
244 # . On SCO (ODT 3) use "User nouser" and "Group nogroup".
245 # . On HPUX you may not be able to use shared memory as nobody, and the
246 # suggested workaround is to create a user www and use that user.
247 # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
248 # when the value of (unsigned)Group is above 60000;
249 # don't use Group nobody on these systems!
250 #
251 User lp
252 Group lp
253
254 #
255 # ServerAdmin: Your address, where problems with the server should be
256 # e-mailed. This address appears on some server-generated pages, such
257 # as error documents.
|
36 ##
37
38 #
39 # Based upon the NCSA server configuration files originally by Rob McCool.
40 #
41 # This is the main Apache server configuration file. It contains the
42 # configuration directives that give the server its instructions.
43 # See <URL:http://www.apache.org/docs/> for detailed information about
44 # the directives. mod_ipp specific directives are described in the
45 # mod_ipp(4) man page.
46 #
47
48 ### Section 1: Global Environment
49 #
50 # The directives in this section affect the overall operation of Apache,
51 # such as the number of concurrent requests it can handle or where it
52 # can find its configuration files.
53 #
54
55 #
56 # ServerRoot: The top of the directory tree under which the server's
57 # configuration, error, and log files are kept.
58 #
59 # NOTE! If you intend to place this on an NFS (or otherwise network)
60 # mounted filesystem then please read the LockFile documentation
61 # (available at <URL:http://www.apache.org/docs/mod/core.html#lockfile>);
62 # you will save yourself a lot of trouble.
63 #
64 ServerRoot "/usr/apache2/2.2"
65
66 #
67 # The LockFile directive sets the path to the lockfile used when Apache
68 # is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or
69 # USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at
70 # its default value. The main reason for changing it is if the logs
71 # directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL
72 # DISK. The PID of the main server process is automatically appended to
73 # the filename.
74 #
75 #LockFile /var/run/httpd.lock
76 LockFile /var/run/httpd-standalone-ipp.lock
77
78 #
79 # PidFile: The file in which the server should record its process
80 # identification number when it starts.
81 #
82 PidFile /var/run/httpd-standalone-ipp.pid
83
84 #
169 # request per connection. For example, if a child process handles
170 # an initial request and 10 subsequent "keptalive" requests, it
171 # would only count as 1 request towards this limit.
172 #
173 MaxRequestsPerChild 10
174
175 #
176 # Dynamic Shared Object (DSO) Support
177 #
178 # To be able to use the functionality of a module which was built as a DSO you
179 # have to place corresponding `LoadModule' lines at this location so the
180 # directives contained in it are actually available _before_ they are used.
181 # Please read the file http://httpd.apache.org/docs/dso.html for more
182 # details about the DSO mechanism and run `httpd -l' for the list of already
183 # built-in (statically linked and thus always available) modules in your httpd
184 # binary.
185 #
186 # Note: The order in which modules are loaded is important. Don't change
187 # the order below without expert advice.
188 #
189 LoadModule alias_module libexec/mod_alias.so
190 LoadModule auth_basic_module libexec/mod_auth_basic.so
191 LoadModule authn_file_module libexec/mod_authn_file.so
192 LoadModule authz_host_module libexec/mod_authz_host.so
193 LoadModule authz_user_module libexec/mod_authz_user.so
194 LoadModule mime_module libexec/mod_mime.so
195 LoadModule mime_magic_module libexec/mod_mime_magic.so
196 LoadModule ipp_module libexec/mod_ipp.so
197
198 ### Section 2: 'Main' server configuration
199 #
200 # The directives in this section set up the values used by the 'main'
201 # server, which responds to any requests that aren't handled by a
202 # <VirtualHost> definition. These values also provide defaults for
203 # any <VirtualHost> containers you may define later in the file.
204 #
205 # All of these directives may appear inside <VirtualHost> containers,
206 # in which case these default settings will be overridden for the
207 # virtual host being defined.
208 #
209
210 #
211 # If your ServerType directive (set earlier in the 'Global Environment'
212 # section) is set to "inetd", the next few directives don't have any
213 # effect since their settings are defined by the inetd configuration.
214 # Skip ahead to the ServerAdmin directive.
215 #
216
217 #
218 # Port: The port to which the standalone server listens. For
219 # ports < 1023, you will need httpd to be run as root initially.
220 #
221 Listen 631
222
223 #
224 # If you wish httpd to run as a different user or group, you must run
225 # httpd as root initially and it will switch.
226 #
227 # User/Group: The name (or #number) of the user/group to run httpd as.
228 # . On SCO (ODT 3) use "User nouser" and "Group nogroup".
229 # . On HPUX you may not be able to use shared memory as nobody, and the
230 # suggested workaround is to create a user www and use that user.
231 # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
232 # when the value of (unsigned)Group is above 60000;
233 # don't use Group nobody on these systems!
234 #
235 User lp
236 Group lp
237
238 #
239 # ServerAdmin: Your address, where problems with the server should be
240 # e-mailed. This address appears on some server-generated pages, such
241 # as error documents.
|