rbowen      01/08/19 20:10:32

  Modified:    htdocs/manual/mod mod_autoindex.html
  Log:
  Added discussion of query arguments to reorder the directory index.
  
  Revision  Changes    Path
  1.43      +40 -0     httpd-docs-1.3/htdocs/manual/mod/mod_autoindex.html
  
  Index: mod_autoindex.html
  ===================================================================
  RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/mod/mod_autoindex.html,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- mod_autoindex.html        2001/08/19 19:33:42     1.42
  +++ mod_autoindex.html        2001/08/20 03:10:32     1.43
  @@ -104,6 +104,46 @@
   <p>See also: <A HREF="core.html#options">Options</A> and <A
   HREF="mod_dir.html#directoryindex">DirectoryIndex</A>.</p>
   
  +<h2>Autoindex Request Query Arguments</h2>
  +
  +<p>The column sorting headers themselves are self-referencing
  +hyperlinks that add the sort query options to reorder the directory
  +listing. The query options are of the form <SAMP>X=Y</SAMP>, where
  +<SAMP>X</SAMP> is one of <SAMP>N</SAMP> (file <EM>N</EM>ame), 
  +<SAMP>M</SAMP> (file last <EM>M</EM>odified date), <SAMP>S</SAMP>
  +(file <EM>S</EM>ize, or <SAMP>D</SAMP> (file <EM>D</EM>escription),
  +and <SAMP>Y</SAMP> is one of <SAMP>A</SAMP> (<EM>A</EM>scending) or
  +<SAMP>D</SAMP> (<EM>D</EM>escending).</p>
  +
  +<p>When options other than the file name are used as the sorting key, the
  +secondary key is always the file name. (When the file name is used to
  +sort by, there is no need of a secondary sort key, since file names
  +are guaranteed to be unique, and so the sort order is
  +unambiguous.)</p>
  +
  +<p>Example:</p>
  +
  +<p>If the URL <SAMP>http://your.server.name/foo/</SAMP> produces a
  +directory index, then the following URLs will produce different sort
  +orders:</p>
  +
  +<ul>
  +<li><SAMP>http://your.server.name/foo/?M=D</SAMP> sorts the directory
  +by last modified date, descending.</li>
  +<li><SAMP>http://your.server.name/foo/?D=A</SAMP> sorts the directory
  +by file description, ascending.</li>
  +<li><SAMP>http://your.server.name/foo/?S=A</SAMP> sorts the directory
  +by file size, ascending.</li>
  +</ul>
  +
  +<p>See <A HREF="#indexorderdefault"><SAMP>IndexOrderDefault</SAMP></A> 
  +to set the default directory ordering.</p>
  +
  +<p>Note also that when the directory listing is ordered in one
  +direction (ascending or descending) by a particular column, the link at
  +the top of that column then reverses, to allow sorting in the opposite
  +direction by that same column.</p>
  +
   <HR>
   
   <H2><A NAME="addalt">AddAlt</A> directive</H2>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to