@@ -156,14 +156,15 @@ icon selected by filename</td></tr><tr><th><a href="directive-dict.html#Syntax">
156156 display for a file, instead of an icon, for <code><a href="#indexoptions:fancyindexing">FancyIndexing</a></code>.
157157 <em>File</em> is a file extension, partial filename, wild-card
158158 expression or full filename for files to describe.
159- <em>String</em> is enclosed in double quotes (<code>"</code>).
160- This alternate text is displayed if the client is image-incapable,
161- has image loading disabled, or fails to retrieve the icon.</p>
159+ If <em>String</em> contains any whitespace, you have to enclose it
160+ in quotes (<code>"</code> or <code>'</code>). This alternate text
161+ is displayed if the client is image-incapable, has image loading
162+ disabled, or fails to retrieve the icon.</p>
162163
163164 <p>Examples:</p>
164165<div class="example"><p><code>
165- AddAlt "PDF" *.pdf<br />
166- AddAlt " Compressed" *.gz *.zip *.Z
166+ AddAlt "PDF file " *.pdf<br />
167+ AddAlt Compressed *.gz *.zip *.Z
167168</code></p></div>
168169</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="AddAltByEncoding" id="AddAltByEncoding">AddAltByEncoding</a> <a name="addaltbyencoding" id="addaltbyencoding">Directive</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">Description:
169170 </a></th><td>Alternate text to display for a file instead of an icon
@@ -177,14 +178,14 @@ selected by MIME-encoding</td></tr><tr><th><a href="directive-dict.html#Syntax">
177178 <p><code class="directive">AddAltByEncoding</code> provides the alternate
178179 text to display for a file, instead of an icon, for <code><a href="#indexoptions:fancyindexing">FancyIndexing</a></code>.
179180 <em>MIME-encoding</em> is a valid content-encoding, such as
180- <code>x-compress</code>. <em>String</em> is enclosed in double
181- quotes (<code>"</code>). This alternate text is displayed if the
182- client is image-incapable, has image loading disabled, or fails to
183- retrieve the icon.</p>
181+ <code>x-compress</code>. If <em>String</em> contains any whitespace,
182+ you have to enclose it in quotes (<code>"</code> or <code>'</code>).
183+ This alternate text is displayed if the client is image-incapable,
184+ has image loading disabled, or fails to retrieve the icon.</p>
184185
185186 <p>Example:</p>
186187<div class="example"><p><code>
187- AddAltByEncoding " gzip" x-gzip
188+ AddAltByEncoding gzip x-gzip
188189</code></p></div>
189190</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="AddAltByType" id="AddAltByType">AddAltByType</a> <a name="addaltbytype" id="addaltbytype">Directive</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">Description:
190191 </a></th><td>Alternate text to display for a file, instead of an
@@ -198,14 +199,14 @@ icon selected by MIME content-type</td></tr><tr><th><a href="directive-dict.html
198199 <p><code class="directive">AddAltByType</code> sets the alternate text to
199200 display for a file, instead of an icon, for <code><a href="#indexoptions:fancyindexing">FancyIndexing</a></code>.
200201 <em>MIME-type</em> is a valid content-type, such as
201- <code>text/html</code>. <em>String</em> is enclosed in double
202- quotes (<code>"</code>). This alternate text is displayed if the
203- client is image-incapable, has image loading disabled, or fails to
204- retrieve the icon.</p>
202+ <code>text/html</code>. If <em>String</em> contains any whitespace,
203+ you have to enclose it in quotes (<code>"</code> or <code>'</code>).
204+ This alternate text is displayed if the client is image-incapable,
205+ has image loading disabled, or fails to retrieve the icon.</p>
205206
206207 <p>Example:</p>
207208<div class="example"><p><code>
208- AddAltByType "TXT" text/plain
209+ AddAltByType 'plain text' text/plain
209210</code></p></div>
210211</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="AddDescription" id="AddDescription">AddDescription</a> <a name="adddescription" id="adddescription">Directive</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">Description:
211212 </a></th><td>Description to display for a file</td></tr><tr><th><a href="directive-dict.html#Syntax">Syntax:
@@ -357,11 +358,12 @@ HeaderName HEADER.html
357358 AddType text/html .cgi
358359</code></p></div>
359360 <p><a href="../content-negotiation.html">Content negotiation</a>
360- will be performed if the <code>MultiViews</code> <code class="directive"><a href="../mod/core.html#option">Option</a></code> is enabled. If
361- <em>filename</em> resolves to a static <code>text/html</code>
362- document (not a CGI script) and the <code>Includes</code>
363- <code class="directive"><a href="../mod/core.html#option">option</a></code> is enabled, the file
364- will be processed for server-side includes (see the
361+ will be performed if <code class="directive"><a href="../mod/core.html#options">Options</a></code>
362+ <code>MultiViews</code> is in effect. If <em>filename</em> resolves
363+ to a static <code>text/html</code> document (not a CGI script) and
364+ either one of the <code class="directive"><a href="../mod/core.html#options">options</a></code>
365+ <code>Includes</code> or <code>IncludesNOEXEC</code> is enabled,
366+ the file will be processed for server-side includes (see the
365367 <code class="module"><a href="../mod/mod_include.html">mod_include</a></code> documentation).</p>
366368</div>
367369
0 commit comments