[deployment-guide/comm-rel: 507/727] Updated the HeaderName directive description.
Jaromir Hradilek
jhradile at fedoraproject.org
Tue Oct 19 13:07:31 UTC 2010
commit 435e5d6e173647e1d3435ff15596f494c24fabfc
Author: Jaromir Hradilek <jhradile at redhat.com>
Date: Thu Aug 26 16:48:23 2010 +0200
Updated the HeaderName directive description.
en-US/The_Apache_HTTP_Server.xml | 30 ++++++++++++++++--------------
1 files changed, 16 insertions(+), 14 deletions(-)
---
diff --git a/en-US/The_Apache_HTTP_Server.xml b/en-US/The_Apache_HTTP_Server.xml
index f063bf9..fba98bb 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -968,21 +968,23 @@ ErrorDocument 404 /404-not_found.html</screen>
</example>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>HeaderName</option></term>
+ <listitem>
+ <para>
+ The <option>HeaderName</option> directive allows you to specify a file to be prepended to the beginning of the server-generated directory listing. It takes the following form:
+ </para>
+ <screen>HeaderName <replaceable>filename</replaceable></screen>
+ <para>
+ By default, the server looks for <filename>HEADER.html</filename>.
+ </para>
+ <example id="example-apache-httpdconf-headername">
+ <title>Using the <option>HeaderName</option> directive</title>
+ <screen>HeaderName HEADER.html</screen>
+ </example>
+ </listitem>
+ </varlistentry>
</variablelist>
- <formalpara id="s2-apache-headername">
- <title>HeaderName</title>
- <indexterm>
- <primary><command>HeaderName</command></primary>
- <secondary>Apache configuration directive</secondary>
- </indexterm>
- <indexterm>
- <primary>configuration directives, Apache</primary>
- <secondary><command>HeaderName</command></secondary>
- </indexterm>
- <para>
- <command>HeaderName</command> names the file which, if it exists in the directory, is prepended to the start of server generated directory listings. Like <command>ReadmeName</command>, the server tries to include it as an HTML document if possible or in plain text if not.
- </para>
- </formalpara>
<formalpara id="s2-apache-hostnamelookups">
<title>HostnameLookups</title>
<indexterm>
More information about the docs-commits
mailing list