Red Hat LINUX 7.2 Reference Manual page 203

Hide thumbs Also See for LINUX 7.2:
Table of Contents

Advertisement

Section 13.3:Configuration Directives in httpd.conf
203
is index.html index.htm index.shtml index.php index.php4 index.php3 in-
dex.cgi. The server will try to find any one of these files, and will return the first one it finds. If
it does not find any of these files and Options Indexes is set for that directory, the server will
generate and return a listing, in HTML format, of the subdirectories and files in the directory.
13.3.37 AccessFileName
AccessFileName names the file which the server should use for access control information in
each directory. By default, your Web server is set to use .htaccess, if it exists, for access control
information in each directory.
Immediately after the AccessFileName directive, a set of Files tags apply access control to any
file beginning with a .ht. These directives deny Web access to any .htaccess files (or other files
which begin with .ht) for security reasons.
13.3.38 CacheNegotiatedDocs
By default, your Web server asks proxy servers not to cache any documents which were negotiated on
the basis of content (that is, they may change over time or because of the input from the requester). If
you uncomment CacheNegotiatedDocs, you are disabling that function and proxy servers will
be allowed to cache the documents from then on.
13.3.39 UseCanonicalName
UseCanonicalName is set by default to on. UseCanonicalName allows the server to construct
an URL that references itself, using ServerName and Port. When the server refers to itself in
response to requests from clients, it uses this URL. If you set UseCanonicalName to off, the
server will instead use the value that came in the request from the client to refer to itself.
13.3.40 TypesConfig
TypesConfig names the file which sets the default list of MIME type mappings (filename exten-
sions to content types). The default TypesConfig file is /etc/mime.types. Instead of editing
/etc/mime.types, the recommended way to add MIME type mappings is to use the AddType
directive.
For more information about AddType, refer to Section 13.3.64, AddType .
13.3.41 DefaultType
DefaultType sets a default content type for the Web server to use for documents whose MIME
types can not be determined. Your Web server defaults to assume a plain text content type for any file
with an indeterminate content type.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux 7.2

Table of Contents