summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Coar <coar@apache.org>1999-12-01 21:33:48 +0100
committerKen Coar <coar@apache.org>1999-12-01 21:33:48 +0100
commitf73baa3bd2a481eb661a24b641c26ec73f732916 (patch)
tree5d89486829863924c077bfc97b54856be23d1418
parentFix a couple of comments (diff)
downloadapache2-f73baa3bd2a481eb661a24b641c26ec73f732916.tar.xz
apache2-f73baa3bd2a481eb661a24b641c26ec73f732916.zip
Add a FoldersFirst keyword to the IndexOptions directive, which
causes subdirectories to always appear first in FancyIndexed listings. Reviewed by: Ryan Bloom, Martin Kraemer, Jim Jagielski git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84205 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--docs/manual/mod/mod_autoindex.html32
1 files changed, 24 insertions, 8 deletions
diff --git a/docs/manual/mod/mod_autoindex.html b/docs/manual/mod/mod_autoindex.html
index 7fedd69c48..fde790b571 100644
--- a/docs/manual/mod/mod_autoindex.html
+++ b/docs/manual/mod/mod_autoindex.html
@@ -545,7 +545,8 @@ IndexIgnore README .htaccess *~
REL="Help"
><STRONG>Compatibility:</STRONG></A> '+/-' syntax and merging of multiple
<SAMP>IndexOptions</SAMP> directives is only available with
- Apache 1.3.3 and later
+ Apache 1.3.3 and later; the <samp>FoldersFirst</samp> option is only
+ available with Apache 1.3.10 and later
<P>
The IndexOptions directive specifies the behavior of the directory indexing.
@@ -564,6 +565,21 @@ This turns on fancy indexing of directories.
is combined with any <SAMP>IndexOptions</SAMP> directive already
specified for the current scope.</STRONG>
</BLOCKQUOTE>
+<dt><a name="indexoptions:foldersfirst">FoldersFirst
+ (<i>Apache 1.3.10 and later</i>)</a></dt>
+<dd>
+If this option is enabled, subdirectories in a FancyIndexed listing
+will <i>always</i> appear first, followed by normal files in the
+directory. The listing is basically broken into two components,
+the files and the subdirectories, and each is sorted separately and
+then displayed subdirectories-first. For instance, if the sort order
+is descending by name, and <samp>FoldersFirst</samp> is enabled,
+subdirectory <samp>Zed</samp> will be listed before subdirectory
+<samp>Beta</samp>, which will be listed before normal files
+<samp>Gamma</samp> and <samp>Alpha</samp>.
+<b>This option only has an effect if
+<a href="#indexoptions:fancyindexing"><samp>FancyIndexing</samp></a>
+is also enabled.</b></dd>
<DT><A NAME="indexoptions:iconheight">IconHeight[=pixels] (<EM>Apache 1.3 and later</EM>)</A>
<DD>
<!--%plaintext &lt;?INDEX {\tt IconHeight} index option&gt; -->
@@ -648,14 +664,14 @@ directive in recent (post-1.3.0) versions of Apache.
The default is that no options are enabled. If multiple IndexOptions
could apply to a directory, then the most specific one is taken complete;
the options are not merged. For example:
-<BLOCKQUOTE><CODE>
-&lt;Directory /web/docs&gt; <BR>
-IndexOptions FancyIndexing <BR>
-&lt;/Directory&gt;<BR>
-&lt;Directory /web/docs/spec&gt; <BR>
-IndexOptions ScanHTMLTitles <BR>
+<BLOCKQUOTE><pre>
+&lt;Directory /web/docs&gt;
+ IndexOptions FancyIndexing
&lt;/Directory&gt;
-</CODE></BLOCKQUOTE>
+&lt;Directory /web/docs/spec&gt;
+ IndexOptions ScanHTMLTitles
+&lt;/Directory&gt;
+</pre></BLOCKQUOTE>
then only <CODE>ScanHTMLTitles</CODE> will be set for the /web/docs/spec
directory.
</P>