
This directive names icons which are displayed by files with MIME encoding in server generated directory listings. For example, the Web server is set to show the icon binary.gif for

In addition to CGI scripts, the AddHandler directive is used to process server-parsed HTML and image-map files.ĪddIcon specifies which icon to show in server generated directory listings for files with certain extensions. Refer toĭirectory for more information about setting the ExecCGI option for a directory. 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. The following is a sample AddHandler directive for the. For example, the cgi-script handler can be matched with the extension. AddEncoding can also be used to instruct some browsers to uncompress certain files as they areĪddHandler maps file extensions to specific handlers. The AddDescription directive supports listing specific files, wildcard expressions, or file extensions.ĪddEncoding names file name extensions which should specify a particular encoding type. When using FancyIndexing as an IndexOptions parameter, the AddDescription directive can be used to display user-specified descriptions for certainįiles or file types in a server generated directory listing. ht) for security reasons.Īction 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. htaccess files (or other files which begin with. Immediately after the AccessFileName directive, a set of Files tags apply access control to any file beginning with a. ĪccessFileName names the file which the server should use for access control information in each directory. For more information, refer to the Apache documentation onlineįor more information about mod_ssl directives, refer to the documentation online at. The following subsections contain a list of short descriptions for many of the directives included in nf. However, the last entries in the error log should provide useful

The error log may not be easy to interpret, depending on your level of expertise. Next look in the Web server's error log, /var/log/httpd/error_log.

If a mistake is made and the Web server does not work correctly, first review recently edited passages in nf to verify there are no typos. Creating a backup makes it easier to recover from mistakes made while editing the configuration file. Section 21.3, “Starting and Stopping httpd”.īefore editing nf, make a copy the original file. If configuring the Apache HTTP Server, edit /etc/httpd/conf/nf and then either reload, restart, or stop and start the httpd process as outlined in
