Red Hat ENTERPRISE LINUX 3 Reference Manual page 168

Hide thumbs Also See for ENTERPRISE LINUX 3:
Table of Contents

Advertisement

150
10.5.53.
LanguagePriority
LanguagePriority
language preference set.
10.5.54.
AddType
Use the
directive to define or override a default MIME type and file extension pairs. The
AddType
following example directive tells the Apache HTTP Server to recognize the
AddType application/x-tar .tgz
10.5.55.
AddHandler
maps file extensions to specific handlers. For example, the
AddHandler
matched with the extension
following is a sample
AddHandler cgi-script .cgi
This directive enables CGIs outside of the
has the
option within the directories container. Refer to Section 10.5.21
ExecCGI
more information about setting the
In addition to CGI scripts, the
image-map files.
10.5.56.
Action
specifies a MIME content type and CGI script pair, so that whenever a file of that media type
Action
is requested, a particular CGI script is executed.
10.5.57.
ErrorDocument
The
ErrorDocument
back to the client. By default, the Web server outputs a simple and usually cryptic error message when
an error occurs. The
message or page.
Important
To be valid, the message must be enclosed in a pair of double quotes ["].
10.5.58.
BrowserMatch
The
BrowserMatch
actions based on the User-Agent HTTP header field — which identifies the client's Web browser type.
By default, the Web server uses
problems and also to disable keepalives and HTTP header flushes for browsers that are known to have
problems with those actions.
sets precedence for different languages in case the client Web browser has no
to automatically treat a file ending with
.cgi
directive for the
AddHandler
ExecCGI
AddHandler
directive associates an HTTP response code with a message or a URL to be sent
directive forces the Web server to instead output a customized
ErrorDocument
directive allows the server to define environment variables and take appropriate
BrowserMatch
extension.
.cgi
to function in any directory on the server which
cgi-bin
option for a directory.
directive is used to process server-parsed HTML and
to deny connections to specific browsers with known
Chapter 10. Apache HTTP Server
file extension:
.tgz
cgi-script
as a CGI script. The
.cgi
Directory
handler can be
for

Advertisement

Table of Contents
loading

Table of Contents