summaryrefslogtreecommitdiffstats
path: root/docs/manual
diff options
context:
space:
mode:
authordgaudet <dgaudet@unknown>2000-04-24 06:03:39 +0200
committerdgaudet <dgaudet@unknown>2000-04-24 06:03:39 +0200
commit89d7e6030301c357d1b53ee158537c969626b64c (patch)
tree55dc17a37ca779e766efc00bf0a53f0c394d197e /docs/manual
parentFirst cut at a file handle cache. It serves on Windows and should work on (diff)
downloadapache2-89d7e6030301c357d1b53ee158537c969626b64c.tar.xz
apache2-89d7e6030301c357d1b53ee158537c969626b64c.zip
Add `IndexOptions +VersionSort', to nicely sort filenames
containing version numbers. Submitted by: Martin Pool <mbp@linuxcare.com.au> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85021 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual')
-rw-r--r--docs/manual/mod/mod_autoindex.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/manual/mod/mod_autoindex.html b/docs/manual/mod/mod_autoindex.html
index b39ed5c0f8..7fc9b6616a 100644
--- a/docs/manual/mod/mod_autoindex.html
+++ b/docs/manual/mod/mod_autoindex.html
@@ -632,6 +632,31 @@ The NameWidth keyword allows you to specify the width of the
filename column in bytes. If the keyword value is '<SAMP>*</SAMP>',
then the column is automatically sized to the length of the longest
filename in the display.
+<DT><A NAME="indexoptions:versionsort">VersionSort (<EM>Apache 2.0a3 and later</EM>)</A>
+<DD>
+The VersionSort keyword causes files containing version numbers to
+sort in a natural way. Strings are sorted as usual, except that
+substrings of digits in the name and description are compared
+according to their numeric value.
+
+For example:
+<BLOCKQUOTE><pre>
+foo-1.7
+foo-1.7.2
+foo-1.7.12
+foo-1.8.2
+foo-1.8.2a
+foo-1.12
+</pre></BLOCKQUOTE>
+
+If the number starts with a zero, then it is considered to be a
+ fraction:
+<BLOCKQUOTE><pre>
+foo-1.001
+foo-1.002
+foo-1.030
+foo-1.04
+</pre></BLOCKQUOTE>
<DT><A NAME="indexoptions:scanhtmltitles">ScanHTMLTitles</A>
<DD><!--%plaintext &lt;?INDEX {\tt ScanHTMLTitles} index option&gt; -->
This enables the extraction of the title from HTML documents for fancy