]> git.pld-linux.org Git - packages/apache.git/blob - apache-httpd.conf
- move Dynamic Shared Object (DSO) entries to end file,
[packages/apache.git] / apache-httpd.conf
1 ##
2 ## httpd.conf -- Apache HTTP server configuration file
3 ##
4
5 ##### Global Environment
6 # The directives in this section affect the overall operation of Apache,
7 # such as the number of concurrent requests it can handle or where it can
8 # find its configuration files.
9
10 ### ServerType
11 # is either inetd, or standalone. Inetd mode is only supported on Unix
12 # platforms.
13
14 ServerType standalone
15
16 ### PidFile
17 # The file in which the server should record its process identification
18 # number when it starts.
19
20 PidFile /var/run/httpd.pid
21
22 ### Timeout
23 # The number of seconds before receives and sends time out.
24 ### KeepAliveTimeout
25 # Number of seconds to wait for the next request from the same client on the
26 # same connection.
27
28 Timeout                 300
29 KeepAliveTimeout        15
30
31 ### KeepAlive
32 # Whether or not to allow persistent connections (more than one request per
33 # connection). Set to "Off" to deactivate.
34 ### MaxKeepAliveRequests
35 # The maximum number of requests to allow during a persistent connection.
36 # Set to 0 to allow an unlimited amount. We recommend you leave this number
37 # high, for maximum performance.
38
39 KeepAlive               On
40 MaxKeepAliveRequests    100
41
42 #
43 # ServerRoot: The top of the directory tree under which the server's
44 # configuration, error, and log files are kept.
45 #
46 # NOTE!  If you intend to place this on an NFS (or otherwise network)
47 # mounted filesystem then please read the LockFile documentation
48 # (available at <URL:http://www.apache.org/docs/mod/core.html#lockfile>);
49 # you will save yourself a lot of trouble.
50 #
51 # Do NOT add a slash at the end of the directory path.
52 #
53 ServerRoot "/usr"
54
55 #
56 # The LockFile directive sets the path to the lockfile used when Apache
57 # is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or
58 # USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at
59 # its default value. The main reason for changing it is if the logs
60 # directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL
61 # DISK. The PID of the main server process is automatically appended to
62 # the filename. 
63 #
64 LockFile /var/run/httpd.lock
65
66 #
67 # ScoreBoardFile: File used to store internal server process information.
68 # Not all architectures require this.  But if yours does (you'll know because
69 # this file will be  created when you run Apache) then you *must* ensure that
70 # no two invocations of Apache share the same scoreboard file.
71 #
72 ScoreBoardFile /var/run/httpd.scoreboard
73
74 #
75 # In the standard configuration, the server will process this file,
76 # srm.conf, and access.conf in that order.  The latter two files are
77 # now distributed empty, as it is recommended that all directives
78 # be kept in a single file for simplicity.  The commented-out values
79 # below are the built-in defaults.  You can have the server ignore
80 # these files altogether by using "/dev/null" (for Unix) or
81 # "nul" (for Win32) for the arguments to the directives.
82 #
83 #ResourceConfig /etc/httpd/srm.conf
84 AccessConfig /etc/httpd/access.conf
85
86
87 #
88 # Server-pool size regulation.  Rather than making you guess how many
89 # server processes you need, Apache dynamically adapts to the load it
90 # sees --- that is, it tries to maintain enough server processes to
91 # handle the current load, plus a few spare servers to handle transient
92 # load spikes (e.g., multiple simultaneous requests from a single
93 # Netscape browser).
94 #
95 # It does this by periodically checking how many servers are waiting
96 # for a request.  If there are fewer than MinSpareServers, it creates
97 # a new spare.  If there are more than MaxSpareServers, some of the
98 # spares die off.  The default values are probably OK for most sites.
99 #
100 MinSpareServers 5
101 MaxSpareServers 10
102
103 #
104 # Number of servers to start initially --- should be a reasonable ballpark
105 # figure.
106 #
107 StartServers 5
108
109 #
110 # Limit on total number of servers running, i.e., limit on the number
111 # of clients who can simultaneously connect --- if this limit is ever
112 # reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.
113 # It is intended mainly as a brake to keep a runaway server from taking
114 # the system with it as it spirals down...
115 #
116 MaxClients 150
117
118 #
119 # MaxRequestsPerChild: the number of requests each child process is
120 # allowed to process before the child dies.  The child will exit so
121 # as to avoid problems after prolonged use when Apache (and maybe the
122 # libraries it uses) leak memory or other resources.  On most systems, this
123 # isn't really needed, but a few (such as Solaris) do have notable leaks
124 # in the libraries.
125 #
126 MaxRequestsPerChild 30
127
128 #
129 # Listen: Allows you to bind Apache to specific IP addresses and/or
130 # ports, in addition to the default. See also the <VirtualHost>
131 # directive.
132 #
133 #Listen 3000
134 #Listen 12.34.56.78:80
135
136 #
137 # BindAddress: You can support virtual hosts with this option. This directive
138 # is used to tell the server which IP address to listen to. It can either
139 # contain "*", an IP address, or a fully qualified Internet domain name.
140 # See also the <VirtualHost> and Listen directives.
141 #
142 #BindAddress *
143
144 #
145 # ExtendedStatus controls whether Apache will generate "full" status
146 # information (ExtendedStatus On) or just basic information (ExtendedStatus
147 # Off) when the "server-status" handler is called. The default is Off.
148 #
149 #ExtendedStatus On
150
151 ### Section 2: 'Main' server configuration
152 #
153 # The directives in this section set up the values used by the 'main'
154 # server, which responds to any requests that aren't handled by a
155 # <VirtualHost> definition.  These values also provide defaults for
156 # any <VirtualHost> containers you may define later in the file.
157 #
158 # All of these directives may appear inside <VirtualHost> containers,
159 # in which case these default settings will be overridden for the
160 # virtual host being defined.
161 #
162
163 #
164 # If your ServerType directive (set earlier in the 'Global Environment'
165 # section) is set to "inetd", the next few directives don't have any
166 # effect since their settings are defined by the inetd configuration.
167 # Skip ahead to the ServerAdmin directive.
168 #
169
170 #
171 # Port: The port to which the standalone server listens. For
172 # ports < 1023, you will need httpd to be run as root initially.
173 #
174 Port 80
175
176 #
177 # If you wish httpd to run as a different user or group, you must run
178 # httpd as root initially and it will switch.  
179 #
180 # User/Group: The name (or #number) of the user/group to run httpd as.
181 #  . On SCO (ODT 3) use "User nouser" and "Group nogroup".
182 #  . On HPUX you may not be able to use shared memory as nobody, and the
183 #    suggested workaround is to create a user www and use that user.
184 #  NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
185 #  when the value of (unsigned)Group is above 60000; 
186 #  don't use Group  on these systems!
187 #
188 User http
189 Group http
190
191 #
192 # ServerAdmin: Your address, where problems with the server should be
193 # e-mailed.  This address appears on some server-generated pages, such
194 # as error documents.
195 #
196 ServerAdmin admin@your_domain.org
197
198 #
199 # ServerName allows you to set a host name which is sent back to clients for
200 # your server if it's different than the one the program would get (i.e., use
201 # "www" instead of the host's real name).
202 #
203 # Note: You cannot just invent host names and hope they work. The name you 
204 # define here must be a valid DNS name for your host. If you don't understand
205 # this, ask your network administrator.
206 # If your host doesn't have a registered DNS name, enter its IP address here.
207 # You will have to access it by its address (e.g., http://123.45.67.89/)
208 # anyway, and this will make redirections work in a sensible way.
209 #
210 #ServerName new.host.name
211
212 #
213 # DocumentRoot: The directory out of which you will serve your
214 # documents. By default, all requests are taken from this directory, but
215 # symbolic links and aliases may be used to point to other locations.
216 #
217 DocumentRoot "/home/httpd/html"
218
219 #
220 # Each directory to which Apache has access, can be configured with respect
221 # to which services and features are allowed and/or disabled in that
222 # directory (and its subdirectories). 
223 #
224 # First, we configure the "default" to be a very restrictive set of 
225 # permissions.  
226 #
227 <Directory />
228     Options FollowSymLinks
229     AllowOverride None
230 </Directory>
231
232 #
233 # Note that from this point forward you must specifically allow
234 # particular features to be enabled - so if something's not working as
235 # you might expect, make sure that you have specifically enabled it
236 # below.
237 #
238
239 #
240 # This should be changed to whatever you set DocumentRoot to.
241 #
242 <Directory "/home/httpd/html">
243
244 #
245 # This may also be "None", "All", or any combination of "Indexes",
246 # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
247 #
248 # Note that "MultiViews" must be named *explicitly* --- "Options All"
249 # doesn't give it to you.
250 #
251     Options Indexes FollowSymLinks
252
253 #
254 # This controls which options the .htaccess files in directories can
255 # override. Can also be "All", or any combination of "Options", "FileInfo", 
256 # "AuthConfig", and "Limit"
257 #
258     AllowOverride None
259
260 #
261 # Controls who can get stuff from this server.
262 #
263     Order allow,deny
264     Allow from all
265 </Directory>
266
267 #
268 # UserDir: The name of the directory which is appended onto a user's home
269 # directory if a ~user request is received.
270 #
271 UserDir public_html
272
273 #
274 # Control access to UserDir directories.  The following is an example
275 # for a site where these directories are restricted to read-only.
276 #
277 #<Directory /*/public_html>
278 #    AllowOverride FileInfo AuthConfig Limit
279 #    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
280 #    <Limit GET POST OPTIONS PROPFIND>
281 #        Order allow,deny
282 #        Allow from all
283 #    </Limit>
284 #    <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
285 #        Order deny,allow
286 #        Deny from all
287 #    </Limit>
288 #</Directory>
289
290 #
291 # DirectoryIndex: Name of the file or files to use as a pre-written HTML
292 # directory index.  Separate multiple entries with spaces.
293 #
294 DirectoryIndex index.html index.htm index.shtml index.cgi
295
296 #
297 # AccessFileName: The name of the file to look for in each directory
298 # for access control information.
299 #
300 AccessFileName .htaccess
301
302 #
303 # The following lines prevent .htaccess files from being viewed by
304 # Web clients.  Since .htaccess files often contain authorization
305 # information, access is disallowed for security reasons.  Comment
306 # these lines out if you want Web visitors to see the contents of
307 # .htaccess files.  If you change the AccessFileName directive above,
308 # be sure to make the corresponding changes here.
309 #
310 <Files .htaccess>
311     Order allow,deny
312     Deny from all
313 </Files>
314
315 #
316 # CacheNegotiatedDocs: By default, Apache sends "Pragma: no-cache" with each
317 # document that was negotiated on the basis of content. This asks proxy
318 # servers not to cache the document. Uncommenting the following line disables
319 # this behavior, and proxies will be allowed to cache the documents.
320 #
321 #CacheNegotiatedDocs
322
323 #
324 # UseCanonicalName:  (new for 1.3)  With this setting turned on, whenever
325 # Apache needs to construct a self-referencing URL (a URL that refers back
326 # to the server the response is coming from) it will use ServerName and
327 # Port to form a "canonical" name.  With this setting off, Apache will
328 # use the hostname:port that the client supplied, when possible.  This
329 # also affects SERVER_NAME and SERVER_PORT in CGI scripts.
330 #
331 UseCanonicalName On
332
333 #
334 # TypesConfig describes where the mime.types file (or equivalent) is
335 # to be found. /etc/mime.types is provided by mailcap package.
336 #
337 TypesConfig /etc/mime.types
338
339 #
340 # DefaultType is the default MIME type the server will use for a document
341 # if it cannot otherwise determine one, such as from filename extensions.
342 # If your server contains mostly text or HTML documents, "text/plain" is
343 # a good value.  If most of your content is binary, such as applications
344 # or images, you may want to use "application/octet-stream" instead to
345 # keep browsers from trying to display binary files as though they are
346 # text.
347 #
348 DefaultType text/plain
349
350 #
351 # The mod_mime_magic module allows the server to use various hints from the
352 # contents of the file itself to determine its type.  The MIMEMagicFile
353 # directive tells the module where the hint definitions are located.
354 # mod_mime_magic is not part of the default server (you have to add
355 # it yourself with a LoadModule [see the DSO paragraph in the 'Global
356 # Environment' section], or recompile the server and include mod_mime_magic
357 # as part of the configuration), so it's enclosed in an <IfModule> container.
358 # This means that the MIMEMagicFile directive will only be processed if the
359 # module is part of the server.
360 #
361 <IfModule mod_mime_magic.c>
362         MIMEMagicFile /etc/httpd/magic
363 </IfModule>
364
365 #
366 # HostnameLookups: Log the names of clients or just their IP addresses
367 # e.g., www.apache.org (on) or 204.62.129.132 (off).
368 # The default is off because it'd be overall better for the net if people
369 # had to knowingly turn this feature on, since enabling it means that
370 # each client request will result in AT LEAST one lookup request to the
371 # nameserver.
372 #
373 HostnameLookups Off
374
375 #
376 # ErrorLog: The location of the error log file.
377 # If you do not specify an ErrorLog directive within a <VirtualHost>
378 # container, error messages relating to that virtual host will be
379 # logged here.  If you *do* define an error logfile for a <VirtualHost>
380 # container, that host's errors will be logged there and not here.
381 #
382 ErrorLog /var/log/httpd/error_log
383
384 #
385 # LogLevel: Control the number of messages logged to the error_log.
386 # Possible values include: debug, info, notice, warn, error, crit,
387 # alert, emerg.
388 #
389 LogLevel warn
390
391 #
392 # The following directives define some format nicknames for use with
393 # a CustomLog directive (see below).
394 #
395 LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
396 LogFormat "%h %l %u %t \"%r\" %>s %b" common
397 LogFormat "%{Referer}i -> %U" referer
398 LogFormat "%{User-agent}i" agent
399
400 #
401 # The location and format of the access logfile (Common Logfile Format).
402 # If you do not define any access logfiles within a <VirtualHost>
403 # container, they will be logged here.  Contrariwise, if you *do*
404 # define per-<VirtualHost> access logfiles, transactions will be
405 # logged therein and *not* in this file.
406 #
407 CustomLog /var/log/httpd/access_log common
408
409 #
410 # If you would like to have agent and referer logfiles, uncomment the
411 # following directives.
412 #
413 CustomLog /var/log/httpd/referer_log referer
414 CustomLog /var/log/httpd/agent_log agent
415
416 #
417 # If you prefer a single logfile with access, agent, and referer information
418 # (Combined Logfile Format) you can use the following directive.
419 #
420 #CustomLog /var/log/httpd/access_log combined
421
422 #
423 # Optionally add a line containing the server version and virtual host
424 # name to server-generated pages (error documents, FTP directory listings,
425 # mod_status and mod_info output etc., but not CGI generated documents).
426 # Set to "EMail" to also include a mailto: link to the ServerAdmin.
427 # Set to one of:  On | Off | EMail
428 #
429 ServerSignature Email
430
431 #
432 # Aliases: Add here as many aliases as you need (with no limit). The format is 
433 # Alias fakename realname
434 #
435 # Note that if you include a trailing / on fakename then the server will
436 # require it to be present in the URL.  So "/icons" isn't aliased in this
437 # example, only "/icons/"..
438 #
439 Alias /icons/ "/home/httpd/icons/"
440
441 <Directory "/home/httpd/icons">
442         Options Indexes MultiViews
443         AllowOverride None
444         Order allow,deny
445         Allow from all
446 </Directory>
447
448 #
449 # ScriptAlias: This controls which directories contain server scripts.
450 # ScriptAliases are essentially the same as Aliases, except that
451 # documents in the realname directory are treated as applications and
452 # run by the server when requested rather than as documents sent to the client.
453 # The same rules about trailing "/" apply to ScriptAlias directives as to
454 # Alias.
455 #
456 ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
457
458 #
459 # "/home/httpd/cgi-bin" should be changed to whatever your ScriptAliased
460 # CGI directory exists, if you have that configured.
461 #
462 <Directory "/home/httpd/cgi-bin">
463         AllowOverride None
464         Options None
465         Order allow,deny
466         Allow from all
467 </Directory>
468
469 #
470 # Redirect allows you to tell clients about documents which used to exist in
471 # your server's namespace, but do not anymore. This allows you to tell the
472 # clients where to look for the relocated document.
473 # Format: Redirect old-URI new-URL
474 #
475
476 #
477 # Directives controlling the display of server-generated directory listings.
478 #
479
480 #
481 # FancyIndexing is whether you want fancy directory indexing or standard
482 #
483 IndexOptions FancyIndexing
484
485 #
486 # AddIcon* directives tell the server which icon to show for different
487 # files or filename extensions.  These are only displayed for
488 # FancyIndexed directories.
489 #
490 AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
491
492 AddIconByType (TXT,/icons/text.gif) text/*
493 AddIconByType (IMG,/icons/image2.gif) image/*
494 AddIconByType (SND,/icons/sound2.gif) audio/*
495 AddIconByType (VID,/icons/movie.gif) video/*
496
497 AddIcon /icons/binary.gif .bin .exe
498 AddIcon /icons/binhex.gif .hqx
499 AddIcon /icons/tar.gif .tar
500 AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
501 AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
502 AddIcon /icons/a.gif .ps .ai .eps
503 AddIcon /icons/layout.gif .html .shtml .htm .pdf
504 AddIcon /icons/text.gif .txt
505 AddIcon /icons/c.gif .c
506 AddIcon /icons/p.gif .pl .py
507 AddIcon /icons/f.gif .for
508 AddIcon /icons/dvi.gif .dvi
509 AddIcon /icons/uuencoded.gif .uu
510 AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
511 AddIcon /icons/tex.gif .tex
512 AddIcon /icons/bomb.gif core
513
514 AddIcon /icons/back.gif ..
515 AddIcon /icons/hand.right.gif README
516 AddIcon /icons/folder.gif ^^DIRECTORY^^
517 AddIcon /icons/blank.gif ^^BLANKICON^^
518
519 #
520 # DefaultIcon is which icon to show for files which do not have an icon
521 # explicitly set.
522 #
523 DefaultIcon /icons/unknown.gif
524
525 #
526 # AddDescription allows you to place a short description after a file in
527 # server-generated indexes.  These are only displayed for FancyIndexed
528 # directories.
529 # Format: AddDescription "description" filename
530 #
531 AddDescription "GZIP compressed document" .gz
532 AddDescription "tar archive" .tar
533 AddDescription "GZIP compressed tar archive" .tgz
534
535 #
536 # ReadmeName is the name of the README file the server will look for by
537 # default, and append to directory listings.
538 #
539 # HeaderName is the name of a file which should be prepended to
540 # directory indexes. 
541 #
542 # The server will first look for name.html and include it if found.
543 # If name.html doesn't exist, the server will then look for name.txt
544 # and include it as plaintext if found.
545 #
546 ReadmeName README
547 HeaderName HEADER
548
549 #
550 # IndexIgnore is a set of filenames which directory indexing should ignore
551 # and not include in the listing.  Shell-style wildcarding is permitted.
552 #
553 IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
554
555 #
556 # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
557 # information on the fly. Note: Not all browsers support this.
558 # Despite the name similarity, the following Add* directives have nothing
559 # to do with the FancyIndexing customization directives above.
560 #
561 AddEncoding x-compress Z
562 AddEncoding x-gzip gz
563
564 #
565 # AddLanguage allows you to specify the language of a document. You can
566 # then use content negotiation to give a browser a file in a language
567 # it can understand.  Note that the suffix does not have to be the same
568 # as the language keyword --- those with documents in Polish (whose
569 # net-standard language code is pl) may wish to use "AddLanguage pl .po" 
570 # to avoid the ambiguity with the common suffix for perl scripts.
571 #
572 AddLanguage en .en
573 AddLanguage fr .fr
574 AddLanguage de .de
575 AddLanguage da .da
576 AddLanguage el .el
577 AddLanguage it .it
578 AddLanguage pl .po
579 #
580 # LanguagePriority allows you to give precedence to some languages
581 # in case of a tie during content negotiation.
582 # Just list the languages in decreasing order of preference.
583 #
584 LanguagePriority en pl fr de
585
586 #
587 # AddHandler allows you to map certain file extensions to "handlers",
588 # actions unrelated to filetype. These can be either built into the server
589 # or added with the Action command (see below)
590 #
591 # If you want to use server side includes, or CGI outside
592 # ScriptAliased directories, uncomment the following lines.
593 #
594 # To use CGI scripts:
595 #
596 AddHandler cgi-script .cgi
597
598 #
599 # To use server-parsed HTML files
600 #
601 AddType text/html .shtml
602 AddHandler server-parsed .shtml
603
604 #
605 # Uncomment the following line to enable Apache's send-asis HTTP file
606 # feature
607 #
608 AddHandler send-as-is asis
609
610 #
611 # If you wish to use server-parsed imagemap files, use
612 #
613 AddHandler imap-file map
614
615 #
616 # To enable type maps, you might want to use
617 #
618 AddHandler type-map var
619
620 #
621 # Action lets you define media types that will execute a script whenever
622 # a matching file is called. This eliminates the need for repeated URL
623 # pathnames for oft-used CGI file processors.
624 # Format: Action media/type /cgi-script/location
625 # Format: Action handler-name /cgi-script/location
626 #
627
628 #
629 # MetaDir: specifies the name of the directory in which Apache can find
630 # meta information files. These files contain additional HTTP headers
631 # to include when sending the document
632 #
633 MetaDir .web
634
635 #
636 # MetaSuffix: specifies the file name suffix for the file containing the
637 # meta information.
638 #
639 MetaSuffix .meta
640
641 #
642 # Customizable error response (Apache style)
643 #  these come in three flavors
644 #
645 #    1) plain text
646 #ErrorDocument 500 "The server made a boo boo.
647 #  n.b.  the (") marks it as text, it does not get output
648 #
649 #    2) local redirects
650 #ErrorDocument 404 /missing.html
651 #  to redirect to local URL /missing.html
652 #ErrorDocument 404 /cgi-bin/missing_handler.pl
653 #  N.B.: You can redirect to a script or a document using server-side-includes.
654 #
655 #    3) external redirects
656 #ErrorDocument 402 http://some.other_server.com/subscription_info.html
657 #  N.B.: Many of the environment variables associated with the original
658 #  request will *not* be available to such a script.
659
660 Alias /errordocs/ "/home/httpd/errordocs/"
661
662 ErrorDocument 400       /errordocs/400.shtml
663 ErrorDocument 401       /errordocs/401.shtml
664 ErrorDocument 403       /errordocs/403.shtml
665 ErrorDocument 404       /errordocs/404.shtml
666 ErrorDocument 405       /errordocs/405.shtml
667 ErrorDocument 406       /errordocs/406.shtml
668 ErrorDocument 408       /errordocs/408.shtml
669 ErrorDocument 410       /errordocs/410.shtml
670 ErrorDocument 411       /errordocs/411.shtml
671 ErrorDocument 414       /errordocs/414.shtml
672 ErrorDocument 500       /errordocs/500.shtml
673 ErrorDocument 503       /errordocs/503.shtml
674
675 # The following directives modify normal HTTP response behavior.
676 # The first directive disables keepalive for Netscape 2.x and browsers that
677 # spoof it. There are known problems with these browser implementations.
678 # The second directive is for Microsoft Internet Explorer 4.0b2
679 # which has a broken HTTP/1.1 implementation and does not properly
680 # support keepalive when it is used on 301 or 302 (redirect) responses.
681 #
682 BrowserMatch "Mozilla/2" nokeepalive
683 BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
684
685 #
686 # The following directive disables HTTP/1.1 responses to browsers which
687 # are in violation of the HTTP/1.0 spec by not being able to grok a
688 # basic 1.1 response.
689 #
690 BrowserMatch "RealPlayer 4\.0" force-response-1.0
691 BrowserMatch "Java/1\.0" force-response-1.0
692 BrowserMatch "JDK/1\.0" force-response-1.0
693
694 #
695 # Allow remote server configuration reports, with the URL of
696 #  http://servername/server-info (requires that mod_info.c be loaded).
697 # Change the ".your_domain.com" to match your domain to enable.
698 #
699 #<Location /server-info>
700 #       SetHandler server-info
701 #       Order deny,allow
702 #       Deny from all
703 #       Allow from .your_domain.com
704 #</Location>
705
706 #
707 # There have been reports of people trying to abuse an old bug from pre-1.1
708 # days.  This bug involved a CGI script distributed as a part of Apache.
709 # By uncommenting these lines you can redirect these attacks to a logging 
710 # script on phf.apache.org.  Or, you can record them yourself, using the script
711 # support/phf_abuse_log.cgi.
712 #
713 #<Location /cgi-bin/phf*>
714 #       Deny from all
715 #       ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi
716 #</Location>
717
718 ### Dynamic Shared Object (DSO) Support
719 #
720 # Example:
721 # LoadModule foo_module libexec/mod_foo.so
722
723 #  Reconstruction of the complete module list from all available modules
724 #  (static and shared ones) to achieve correct module execution order.
725 #  [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]
726 ClearModuleList
727 AddModule mod_so.c
728
This page took 0.070428 seconds and 4 git commands to generate.