General Configuration Tips
AddIcon
AddIcon specifies which icon to show in server generated directory listings for files with certain
extensions. For example, the Web server is set to show the icon binary.gif for files with .bin or
.exe extensions.
AddIconByEncoding
This directive names icons which are displayed by files with MIME encoding in server generated
directory listings. For example, by default, the Web server shows the compressed.gif icon next to
MIME encoded x-compress and x-gzip files in server generated directory listings.
AddIconByType
This directive names icons which are displayed next to files with MIME types in server generated
directory listings. For example, the server shows the icon text.gif next to files with a mime-type of
text, in server generated directory listings.
AddLanguage
AddLanguage associates file name extensions with specific languages. This directive is useful for
Apache HTTP Servers which serve content in multiple languages based on the client Web browser's
language settings.
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
Alias
The Alias setting allows directories outside the DocumentRoot directory to be accessible. Any
URL ending in the alias automatically resolves to the alias' path. By default, one alias for an icons/
directory is already set up. An icons/ directory can be accessed by the Web server, but the directory
is not in the DocumentRoot.
Allow
Allow specifies which client can access a given directory. The client can be all, a domain name, an
IP address, a partial IP address, a network/netmask pair, and so on. The DocumentRoot directory is
configured to Allow requests from all, meaning everyone has access.
AllowOverride
The AllowOverride directive sets whether any Options can be overridden by the declarations in
an .htaccess file. By default, both the root directory and the DocumentRoot are set to allow no
.htaccess overrides.
333
Need help?
Do you have a question about the ENTERPRISE LINUX 5 - DEPLOYMENT and is the answer not in the manual?
Questions and answers