diff options
Diffstat (limited to 'docs/manual/mod/mod_autoindex.html.en')
-rw-r--r-- | docs/manual/mod/mod_autoindex.html.en | 108 |
1 files changed, 32 insertions, 76 deletions
diff --git a/docs/manual/mod/mod_autoindex.html.en b/docs/manual/mod/mod_autoindex.html.en index 9cd17d81..c547465f 100644 --- a/docs/manual/mod/mod_autoindex.html.en +++ b/docs/manual/mod/mod_autoindex.html.en @@ -9,7 +9,7 @@ <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> -<script src="../style/scripts/prettify.js" type="text/javascript"> +<script src="../style/scripts/prettify.min.js" type="text/javascript"> </script> <link href="../images/favicon.ico" rel="shortcut icon" /></head> @@ -225,10 +225,8 @@ icon selected by filename</td></tr> is displayed if the client is image-incapable, has image loading disabled, or fails to retrieve the icon.</p> - <pre class="prettyprint lang-config"> -AddAlt "PDF file" *.pdf -AddAlt Compressed *.gz *.zip *.Z - </pre> + <pre class="prettyprint lang-config">AddAlt "PDF file" *.pdf +AddAlt Compressed *.gz *.zip *.Z</pre> </div> @@ -252,9 +250,7 @@ selected by MIME-encoding</td></tr> This alternate text is displayed if the client is image-incapable, has image loading disabled, or fails to retrieve the icon.</p> - <pre class="prettyprint lang-config"> - AddAltByEncoding gzip x-gzip - </pre> + <pre class="prettyprint lang-config">AddAltByEncoding gzip x-gzip</pre> </div> @@ -278,9 +274,7 @@ icon selected by MIME content-type</td></tr> This alternate text is displayed if the client is image-incapable, has image loading disabled, or fails to retrieve the icon.</p> - <pre class="prettyprint lang-config"> - AddAltByType 'plain text' text/plain - </pre> + <pre class="prettyprint lang-config">AddAltByType 'plain text' text/plain</pre> </div> @@ -300,10 +294,8 @@ icon selected by MIME content-type</td></tr> expression or full filename for files to describe. <var>String</var> is enclosed in double quotes (<code>"</code>).</p> - <pre class="prettyprint lang-config"> -AddDescription "The planet Mars" mars.gif -AddDescription "My friend Marshall" friends/mars.gif - </pre> + <pre class="prettyprint lang-config">AddDescription "The planet Mars" mars.gif +AddDescription "My friend Marshall" friends/mars.gif</pre> <p>The typical, default description field is 23 bytes wide. 6 @@ -368,12 +360,10 @@ AddDescription "My friend Marshall" friends/mars.gif is unnecessary if you're using <code>IndexOptions HTMLTable</code>.</p> - <pre class="prettyprint lang-config"> -#Examples + <pre class="prettyprint lang-config">#Examples AddIcon (IMG,/icons/image.png) .gif .jpg .png AddIcon /icons/dir.png ^^DIRECTORY^^ -AddIcon /icons/backup.png *~ - </pre> +AddIcon /icons/backup.png *~</pre> <p><code class="directive"><a href="#addiconbytype">AddIconByType</a></code> @@ -403,9 +393,7 @@ content-encoding</td></tr> <p><var>MIME-encoding</var> is a valid content-encoding, such as <code>x-compress</code>.</p> - <pre class="prettyprint lang-config"> - AddIconByEncoding /icons/compress.png x-compress - </pre> + <pre class="prettyprint lang-config">AddIconByEncoding /icons/compress.png x-compress</pre> </div> @@ -432,9 +420,7 @@ content-type</td></tr> <p><var>MIME-type</var> is a wildcard expression matching required the mime types.</p> - <pre class="prettyprint lang-config"> - AddIconByType (IMG,/icons/image.png) image/* - </pre> + <pre class="prettyprint lang-config">AddIconByType (IMG,/icons/image.png) image/*</pre> </div> @@ -454,9 +440,7 @@ configured</td></tr> <var>Url-path</var> is a (%-escaped) relative URL to the icon, or a fully qualified remote URL.</p> - <pre class="prettyprint lang-config"> - DefaultIcon /icon/unknown.png - </pre> + <pre class="prettyprint lang-config">DefaultIcon /icon/unknown.png</pre> </div> @@ -475,9 +459,7 @@ of the index listing</td></tr> of the file that will be inserted at the top of the index listing. <var>Filename</var> is the name of the file to include.</p> - <pre class="prettyprint lang-config"> - HeaderName HEADER.html - </pre> + <pre class="prettyprint lang-config">HeaderName HEADER.html</pre> <div class="note"> @@ -486,9 +468,7 @@ of the index listing</td></tr> access the directory being indexed. If <var>Filename</var> begins with a slash, it will be taken to be relative to the <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code>.</p> - <pre class="prettyprint lang-config"> - HeaderName /include/HEADER.html - </pre> + <pre class="prettyprint lang-config">HeaderName /include/HEADER.html</pre> <p><var>Filename</var> must resolve to a document with a major @@ -498,9 +478,7 @@ of the index listing</td></tr> actual file type (as opposed to its output) is marked as <code>text/html</code> such as with a directive like:</p> - <pre class="prettyprint lang-config"> - AddType text/html .cgi - </pre> + <pre class="prettyprint lang-config">AddType text/html .cgi</pre> <p><a href="../content-negotiation.html">Content negotiation</a> @@ -537,9 +515,7 @@ of the index listing</td></tr> <p>The <code class="directive">IndexHeadInsert</code> directive specifies a string to insert in the <var><head></var> section of the HTML generated for the index page.</p> - <pre class="prettyprint lang-config"> - IndexHeadInsert "<link rel=\"sitemap\" href=\"/sitemap.html\">" - </pre> + <pre class="prettyprint lang-config">IndexHeadInsert "<link rel=\"sitemap\" href=\"/sitemap.html\">"</pre> </div> @@ -563,9 +539,7 @@ a directory</td></tr> files. By default, the list contains <code>.</code> (the current directory).</p> - <pre class="prettyprint lang-config"> - IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t - </pre> + <pre class="prettyprint lang-config">IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t</pre> <div class="note"><h3>Regular Expressions</h3> @@ -591,15 +565,13 @@ a directory</td></tr> any files ignored by <code class="directive">IndexIgnore</code> otherwise inherited from other configuration sections. </p> - <pre class="prettyprint lang-config"> -<Directory /var/www> + <pre class="prettyprint lang-config"><Directory /var/www> IndexIgnore *.bak .??* *~ *# HEADER* README* RCS CVS *,v *,t </Directory> <Directory /var/www/backups> IndexIgnoreReset ON IndexIgnore .??* *# HEADER* README* RCS CVS *,v *,t -</Directory> - </pre> +</Directory></pre> <div class="warning"><p> Review the default configuration for a list of @@ -648,9 +620,7 @@ indexing</td></tr> (It depends on whether the underlying file system uses Unicode filenames or not.) - <pre class="prettyprint lang-config"> - IndexOptions Charset=UTF-8 - </pre> + <pre class="prettyprint lang-config">IndexOptions Charset=UTF-8</pre> </dd> @@ -854,9 +824,7 @@ indexing</td></tr> specify the MIME content-type of the generated page. The default is <var>text/html</var>. - <pre class="prettyprint lang-config"> - IndexOptions Type=text/plain - </pre> + <pre class="prettyprint lang-config">IndexOptions Type=text/plain</pre> </dd> @@ -906,19 +874,15 @@ indexing</td></tr> <li>Multiple <code class="directive">IndexOptions</code> directives for a single directory are now merged together. The result of: - <pre class="prettyprint lang-config"> -<Directory /foo> + <pre class="prettyprint lang-config"><Directory /foo> IndexOptions HTMLTable IndexOptions SuppressColumnsorting -</Directory> - </pre> +</Directory></pre> <p>will be the equivalent of</p> - <pre class="prettyprint lang-config"> - IndexOptions HTMLTable SuppressColumnsorting - </pre> + <pre class="prettyprint lang-config">IndexOptions HTMLTable SuppressColumnsorting</pre> </li> @@ -933,10 +897,8 @@ indexing</td></tr> clears all inherited options and any incremental settings encountered so far. Consider the following example:</p> - <pre class="prettyprint lang-config"> -IndexOptions +ScanHTMLTitles -IconsAreLinks FancyIndexing<br /> -IndexOptions +SuppressSize - </pre> + <pre class="prettyprint lang-config">IndexOptions +ScanHTMLTitles -IconsAreLinks FancyIndexing<br /> +IndexOptions +SuppressSize</pre> <p>The net effect is equivalent to <code>IndexOptions FancyIndexing @@ -998,9 +960,7 @@ Name|Date|Size|Description</code></td></tr> <p>The <code class="directive">IndexStyleSheet</code> directive sets the name of the file that will be used as the CSS for the index listing. </p> - <pre class="prettyprint lang-config"> - IndexStyleSheet "/css/style.css" - </pre> + <pre class="prettyprint lang-config">IndexStyleSheet "/css/style.css"</pre> <p>Using this directive in conjunction with <code>IndexOptions @@ -1041,16 +1001,12 @@ of the index listing</td></tr> relative to the <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code>. </p> - <pre class="prettyprint lang-config"> -# Example 1 -ReadmeName FOOTER.html - </pre> + <pre class="prettyprint lang-config"># Example 1 +ReadmeName FOOTER.html</pre> - <pre class="prettyprint lang-config"> -# Example 2 -ReadmeName /include/FOOTER.html - </pre> + <pre class="prettyprint lang-config"># Example 2 +ReadmeName /include/FOOTER.html</pre> <p>See also <code class="directive"><a href="#headername">HeaderName</a></code>, where this behavior is described in greater @@ -1082,7 +1038,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/2.4/mod/mod_autoindex.ht } })(window, document); //--><!]]></script></div><div id="footer"> -<p class="apache">Copyright 2013 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="apache">Copyright 2014 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- if (typeof(prettyPrint) !== 'undefined') { prettyPrint(); |