HeaderName directive


Purpose

This directive specifies what filename httpd should look for when indexing a directory, in order to add a custom header. This can describe the contents of the directory.


Syntax

HeaderName name

name is the name of the file httpd should look for when trying to find a description file. httpd will first look for name.html, and if found, will display the HTML inlined with its own index. If it finds name, it will include the file as plaintext.

Only one HeaderName directive should appear in the configuration file.


Default

If no HeaderName is present, httpd assumes nothing.

Example

HeaderName HEADER

When generating an index for the directory /foo, httpd will look for /foo/HEADER.html, and will insert it at the top of the index if found. If not, it will then look for /foo/HEADER and insert it if found. If it finds nothing, it will include nothing.


Return to Resource Configuration File Overview

httpd@ncsa.uiuc.edu