Red Hat LINUX 7.2 Reference Manual page 209

Hide thumbs Also See for LINUX 7.2:
Table of Contents

Advertisement

Section 13.3:Configuration Directives in httpd.conf
209
13.3.60 IndexIgnore
IndexIgnore lists file extensions, partial filenames, wildcard expressions or full filenames. The
Web server will not include any files which match any of those parameters in server generated directory
listings.
13.3.61 AddEncoding
AddEncoding names filename extensions which should specify a particular encoding type. Ad-
dEncoding can also be used to instruct some browsers (not all) to uncompress certain files as they
are downloaded.
13.3.62 AddLanguage
AddLanguage associates filename extensions with specific content languages. This directive is
mostly useful for content negotiation, when the server returns one of several documents based on the
client's language preference as set in their browser.
13.3.63 LanguagePriority
LanguagePriority allows you to set precedence for different languages in which to serve files,
which will be in effect if the client expressed no preference for language in their browser.
13.3.64 AddType
Use the AddType directive to define MIME type and file extension pairs. For example, if you are
using PHP4, your Web server is using the AddType directive to make your Web server recognize files
with PHP extensions (.php4, .php3 .phtml .php) as PHP MIME types.
The following AddType line tells your server to recognize the .shtml file extension (for server side
includes):
AddType text/html .shtml
You will need to include the above line within the virtual host tags for any virtual hosts which should
allow server side includes.
13.3.65 AddHandler
AddHandler maps file extensions to specific handlers. For example, the cgi-script handler can
be used matched with the extension .cgi to automatically treat a file ending with .cgi as a CGI
script. This will work, even for files outside of the ScriptAlias directory, as long as you follow
the instructions provided here.
You have a CGI AddHandler line in your httpd.conf file:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LINUX 7.2 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Linux 7.2

Table of Contents