2 ## httpd.conf -- Apache HTTP server configuration file
5 ### Section 1: Global Environment
7 # The directives in this section affect the overall operation of Apache,
8 # such as the number of concurrent requests it can handle or where it
9 # can find its configuration files.
13 # ServerType is either inetd, or standalone. Inetd mode is only supported on
19 # ServerRoot: The top of the directory tree under which the server's
20 # configuration, error, and log files are kept.
22 # NOTE! If you intend to place this on an NFS (or otherwise network)
23 # mounted filesystem then please read the LockFile documentation
24 # (available at <URL:http://www.apache.org/docs/mod/core.html#lockfile>);
25 # you will save yourself a lot of trouble.
27 # Do NOT add a slash at the end of the directory path.
29 ServerRoot "/tmp/httpd-8888"
32 # The LockFile directive sets the path to the lockfile used when Apache
33 # is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or
34 # USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at
35 # its default value. The main reason for changing it is if the logs
36 # directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL
37 # DISK. The PID of the main server process is automatically appended to
40 LockFile /tmp/httpd.accept.lock
43 # PidFile: The file in which the server should record its process
44 # identification number when it starts.
46 PidFile /tmp/httpd.pid
49 # ScoreBoardFile: File used to store internal server process information.
50 # Not all architectures require this. But if yours does (you'll know because
51 # this file will be created when you run Apache) then you *must* ensure that
52 # no two invocations of Apache share the same scoreboard file.
54 ScoreBoardFile /tmp/httpd.apache_runtime_status
57 # In the standard configuration, the server will process httpd.conf,
58 # srm.conf, and access.conf in that order. The latter two files are
59 # now distributed empty, as it is recommended that all directives
60 # be kept in a single file for simplicity. The commented-out values
61 # below are the built-in defaults. You can have the server ignore
62 # these files altogether by using "/dev/null" (for Unix) or
63 # "nul" (for Win32) for the arguments to the directives.
65 #ResourceConfig conf/srm.conf
66 #AccessConfig conf/access.conf
67 ResourceConfig /dev/null
68 AccessConfig /dev/null
71 # Timeout: The number of seconds before receives and sends time out.
76 # KeepAlive: Whether or not to allow persistent connections (more than
77 # one request per connection). Set to "Off" to deactivate.
82 # MaxKeepAliveRequests: The maximum number of requests to allow
83 # during a persistent connection. Set to 0 to allow an unlimited amount.
84 # We recommend you leave this number high, for maximum performance.
86 MaxKeepAliveRequests 100
89 # KeepAliveTimeout: Number of seconds to wait for the next request from the
90 # same client on the same connection.
95 # Server-pool size regulation. Rather than making you guess how many
96 # server processes you need, Apache dynamically adapts to the load it
97 # sees --- that is, it tries to maintain enough server processes to
98 # handle the current load, plus a few spare servers to handle transient
99 # load spikes (e.g., multiple simultaneous requests from a single
102 # It does this by periodically checking how many servers are waiting
103 # for a request. If there are fewer than MinSpareServers, it creates
104 # a new spare. If there are more than MaxSpareServers, some of the
105 # spares die off. The default values in httpd.conf-dist are probably OK
112 # Number of servers to start initially --- should be a reasonable ballpark
118 # Limit on total number of servers running, i.e., limit on the number
119 # of clients who can simultaneously connect --- if this limit is ever
120 # reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.
121 # It is intended mainly as a brake to keep a runaway server from taking
122 # the system with it as it spirals down...
127 # MaxRequestsPerChild: the number of requests each child process is
128 # allowed to process before the child dies. The child will exit so
129 # as to avoid problems after prolonged use when Apache (and maybe the
130 # libraries it uses) leak memory or other resources. On most systems, this
131 # isn't really needed, but a few (such as Solaris) do have notable leaks
134 MaxRequestsPerChild 30
137 # Dynamic Shared Object (DSO) Support
139 # To be able to use the functionality of a module which was built as a DSO you
140 # have to place corresponding `LoadModule' lines at this location so the
141 # directives contained in it are actually available _before_ they are used.
142 # Please read the file README.DSO in the Apache 1.3 distribution for more
143 # details about the DSO mechanism and run `httpd -l' for the list of already
144 # built-in (statically linked and thus always available) modules in your httpd
147 # Note: The order is which modules are loaded is important. Don't change
148 # the order below without expert advice.
151 # LoadModule foo_module libexec/mod_foo.so
152 LoadModule mmap_static_module /usr/lib/apache/mod_mmap_static.so
153 LoadModule env_module /usr/lib/apache/mod_env.so
154 LoadModule config_log_module /usr/lib/apache/mod_log_config.so
155 LoadModule mime_module /usr/lib/apache/mod_mime.so
156 LoadModule includes_module /usr/lib/apache/mod_include.so
157 LoadModule alias_module /usr/lib/apache/mod_alias.so
158 LoadModule access_module /usr/lib/apache/mod_access.so
159 LoadModule auth_module /usr/lib/apache/mod_auth.so
160 LoadModule setenvif_module /usr/lib/apache/mod_setenvif.so
162 # Reconstruction of the complete module list from all available modules
163 # (static and shared ones) to achieve correct module execution order.
164 # [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]
166 AddModule mod_mmap_static.c
168 AddModule mod_log_config.c
170 AddModule mod_include.c
171 AddModule mod_alias.c
172 AddModule mod_access.c
175 AddModule mod_setenvif.c
178 # ExtendedStatus controls whether Apache will generate "full" status
179 # information (ExtendedStatus On) or just basic information (ExtendedStatus
180 # Off) when the "server-status" handler is called. The default is Off.
184 ### Section 2: 'Main' server configuration
186 # The directives in this section set up the values used by the 'main'
187 # server, which responds to any requests that aren't handled by a
188 # <VirtualHost> definition. These values also provide defaults for
189 # any <VirtualHost> containers you may define later in the file.
191 # All of these directives may appear inside <VirtualHost> containers,
192 # in which case these default settings will be overridden for the
193 # virtual host being defined.
197 # If your ServerType directive (set earlier in the 'Global Environment'
198 # section) is set to "inetd", the next few directives don't have any
199 # effect since their settings are defined by the inetd configuration.
200 # Skip ahead to the ServerAdmin directive.
204 # Port: The port to which the standalone server listens. For
205 # ports < 1023, you will need httpd to be run as root initially.
210 # If you wish httpd to run as a different user or group, you must run
211 # httpd as root initially and it will switch.
213 # User/Group: The name (or #number) of the user/group to run httpd as.
214 # . On SCO (ODT 3) use "User nouser" and "Group nogroup".
215 # . On HPUX you may not be able to use shared memory as nobody, and the
216 # suggested workaround is to create a user www and use that user.
217 # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
218 # when the value of (unsigned)Group is above 60000;
219 # don't use Group nogroup on these systems!
225 # ServerAdmin: Your address, where problems with the server should be
226 # e-mailed. This address appears on some server-generated pages, such
227 # as error documents.
229 ServerAdmin root@localhost
232 # ServerName allows you to set a host name which is sent back to clients for
233 # your server if it's different than the one the program would get (i.e., use
234 # "www" instead of the host's real name).
236 # Note: You cannot just invent host names and hope they work. The name you
237 # define here must be a valid DNS name for your host. If you don't understand
238 # this, ask your network administrator.
239 # If your host doesn't have a registered DNS name, enter its IP address here.
240 # You will have to access it by its address (e.g., http://123.45.67.89/)
241 # anyway, and this will make redirections work in a sensible way.
243 #ServerName Euklid.suse.de
246 # DocumentRoot: The directory out of which you will serve your
247 # documents. By default, all requests are taken from this directory, but
248 # symbolic links and aliases may be used to point to other locations.
250 DocumentRoot "/HOME/helge/mdev/LSOffice3/LSWebInterface/Skyrix"
253 # Each directory to which Apache has access, can be configured with respect
254 # to which services and features are allowed and/or disabled in that
255 # directory (and its subdirectories).
257 # First, we configure the "default" to be a very restrictive set of
261 Options FollowSymLinks
266 # Note that from this point forward you must specifically allow
267 # particular features to be enabled - so if something's not working as
268 # you might expect, make sure that you have specifically enabled it
273 # This should be changed to whatever you set DocumentRoot to.
275 <Directory "/HOME/helge/mdev/LSOffice3/LSWebInterface/Skyrix">
278 # This may also be "None", "All", or any combination of "Indexes",
279 # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
281 # Note that "MultiViews" must be named *explicitly* --- "Options All"
282 # doesn't give it to you.
284 Options Indexes FollowSymLinks
287 # This controls which options the .htaccess files in directories can
288 # override. Can also be "All", or any combination of "Options", "FileInfo",
289 # "AuthConfig", and "Limit"
294 # Controls who can get stuff from this server.
301 # UseCanonicalName: (new for 1.3) With this setting turned on, whenever
302 # Apache needs to construct a self-referencing URL (a URL that refers back
303 # to the server the response is coming from) it will use ServerName and
304 # Port to form a "canonical" name. With this setting off, Apache will
305 # use the hostname:port that the client supplied, when possible. This
306 # also affects SERVER_NAME and SERVER_PORT in CGI scripts.
311 # TypesConfig describes where the mime.types file (or equivalent) is
314 TypesConfig /etc/httpd/mime.types
317 # DefaultType is the default MIME type the server will use for a document
318 # if it cannot otherwise determine one, such as from filename extensions.
319 # If your server contains mostly text or HTML documents, "text/plain" is
320 # a good value. If most of your content is binary, such as applications
321 # or images, you may want to use "application/octet-stream" instead to
322 # keep browsers from trying to display binary files as though they are
325 DefaultType text/plain
328 # HostnameLookups: Log the names of clients or just their IP addresses
329 # e.g., www.apache.org (on) or 204.62.129.132 (off).
330 # The default is off because it'd be overall better for the net if people
331 # had to knowingly turn this feature on, since enabling it means that
332 # each client request will result in AT LEAST one lookup request to the
338 # ErrorLog: The location of the error log file.
339 # If you do not specify an ErrorLog directive within a <VirtualHost>
340 # container, error messages relating to that virtual host will be
341 # logged here. If you *do* define an error logfile for a <VirtualHost>
342 # container, that host's errors will be logged there and not here.
344 ErrorLog /tmp/httpd-8888/httpd.error_log
347 # LogLevel: Control the number of messages logged to the error_log.
348 # Possible values include: debug, info, notice, warn, error, crit,
354 # The following directives define some format nicknames for use with
355 # a CustomLog directive (see below).
357 LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
358 LogFormat "%h %l %u %t \"%r\" %>s %b" common
359 LogFormat "%{Referer}i -> %U" referer
360 LogFormat "%{User-agent}i" agent
363 # The location and format of the access logfile (Common Logfile Format).
364 # If you do not define any access logfiles within a <VirtualHost>
365 # container, they will be logged here. Contrariwise, if you *do*
366 # define per-<VirtualHost> access logfiles, transactions will be
367 # logged therein and *not* in this file.
369 CustomLog /tmp/httpd-8888/httpd.access_log common
372 # Optionally add a line containing the server version and virtual host
373 # name to server-generated pages (error documents, FTP directory listings,
374 # mod_status and mod_info output etc., but not CGI generated documents).
375 # Set to "EMail" to also include a mailto: link to the ServerAdmin.
376 # Set to one of: On | Off | EMail
381 # SKYRIX configurations
386 # Redirect allows you to tell clients about documents which used to exist in
387 # your server's namespace, but do not anymore. This allows you to tell the
388 # clients where to look for the relocated document.
389 # Format: Redirect old-URI new-URL
393 # Directives controlling the display of server-generated directory listings.
397 # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
398 # information on the fly. Note: Not all browsers support this.
399 # Despite the name similarity, the following Add* directives have nothing
400 # to do with the FancyIndexing customization directives above.
402 AddEncoding x-compress Z
403 AddEncoding x-gzip gz
406 # Customizable error response (Apache style)
407 # these come in three flavors
410 #ErrorDocument 500 "The server made a boo boo.
411 # n.b. the (") marks it as text, it does not get output
414 #ErrorDocument 404 /missing.html
415 # to redirect to local URL /missing.html
416 #ErrorDocument 404 /cgi-bin/missing_handler.pl
417 # N.B.: You can redirect to a script or a document using server-side-includes.
419 # 3) external redirects
420 #ErrorDocument 402 http://some.other_server.com/subscription_info.html
421 # N.B.: Many of the environment variables associated with the original
422 # request will *not* be available to such a script.
425 # The following directives modify normal HTTP response behavior.
426 # The first directive disables keepalive for Netscape 2.x and browsers that
427 # spoof it. There are known problems with these browser implementations.
428 # The second directive is for Microsoft Internet Explorer 4.0b2
429 # which has a broken HTTP/1.1 implementation and does not properly
430 # support keepalive when it is used on 301 or 302 (redirect) responses.
432 BrowserMatch "Mozilla/2" nokeepalive
433 BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
436 # The following directive disables HTTP/1.1 responses to browsers which
437 # are in violation of the HTTP/1.0 spec by not being able to grok a
438 # basic 1.1 response.
440 BrowserMatch "RealPlayer 4\.0" force-response-1.0
441 BrowserMatch "Java/1\.0" force-response-1.0
442 BrowserMatch "JDK/1\.0" force-response-1.0
445 # Allow server status reports, with the URL of http://servername/server-status
446 # Change the ".your_domain.com" to match your domain to enable.
448 <Location /server-status>
449 SetHandler server-status
456 # Allow remote server configuration reports, with the URL of
457 # http://servername/server-info (requires that mod_info.c be loaded).
458 # Change the ".your_domain.com" to match your domain to enable.
460 #<Location /server-info>
461 # SetHandler server-info
464 # Allow from .your_domain.com