LanguagePriority
sets precedence for different languages in case the client Web browser has
no language preference set.
5.55.
AddType
Use the
AddType
directive to define or override a default MIME type and file extension pairs.
The following example directive tells the Apache HTTP Server to recognize the
.tgz
file
extension:
AddType application/x-tar .tgz
5.56.
AddHandler
AddHandler
maps file extensions to specific handlers. For example, the
cgi-script
handler
can be matched with the extension
.cgi
to automatically treat a file ending with
.cgi
as a CGI
script. The following is a sample
AddHandler
directive for the
.cgi
extension.
AddHandler cgi-script .cgi
This directive enables CGIs outside of the
cgi-bin
to function in any directory on the server
which has the
ExecCGI
option within the directories container. Refer to
Section 5.22,
“
Directory
”
for more information about setting the
ExecCGI
option for a directory.
In addition to CGI scripts, the
AddHandler
directive is used to process server-parsed HTML and
image-map files.
5.57.
Action
Action
specifies a MIME content type and CGI script pair, so that when a file of that media type
is requested, a particular CGI script is executed.
5.58.
ErrorDocument
The
ErrorDocument
directive associates an HTTP response code with a message or a URL to
be sent back to the client. By default, the Web server outputs a simple and usually cryptic error
message when an error occurs. The
ErrorDocument
directive forces the Web server to instead
output a customized message or page.
Important
To be valid, the message must be enclosed in a pair of double quotes ".
5.59.
BrowserMatch
AddType
177
Summary of Contents for ENTERPRISE LINUX 4.5.0 -
Page 1: ...Red Hat Enterprise Linux 4 5 0 4 5 0 Reference Guide ISBN N A Publication date ...
Page 2: ...Red Hat Enterprise Linux 4 5 0 ...
Page 4: ...Red Hat Enterprise Linux 4 5 0 ...
Page 24: ...xxiv ...
Page 26: ......
Page 36: ...12 ...
Page 72: ...48 ...
Page 112: ...88 ...
Page 122: ...98 ...
Page 140: ...116 ...
Page 142: ......
Page 300: ...276 ...
Page 318: ...294 ...
Page 320: ......
Page 332: ...308 ...
Page 350: ...326 ...
Page 378: ...354 ...
Page 388: ...364 ...
Page 394: ...370 ...
Page 395: ...Part IV Appendixes ...
Page 396: ......