]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r1206680, r1206681, r1206682 from trunk:
authorEric Covener <covener@apache.org>
Sun, 27 Nov 2011 08:25:19 +0000 (08:25 +0000)
committerEric Covener <covener@apache.org>
Sun, 27 Nov 2011 08:25:19 +0000 (08:25 +0000)
Replace unusable/fringe absolute path example for AddDescription and list
some weird AddDescription semantics related to directories.

mention IndexIgnore limitation in DirectoryMatch and friends as currently
documented only in bugzilla (PR51471)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1206683 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_autoindex.xml

index ab5f9acd64a31219b3623cc3a1be6c35a2e4cc85..81f384dddb765ced1bdeca22f9d6c413274adf02 100644 (file)
@@ -280,7 +280,8 @@ icon selected by MIME content-type</description>
     <var>String</var> is enclosed in double quotes (<code>"</code>).</p>
 
     <example><title>Example</title>
-      AddDescription "The planet Mars" /web/pics/mars.gif
+      AddDescription "The planet Mars" mars.gif <br/>
+      AddDescription "My friend Marshall" friends/mars.gif
     </example>
 
     <p>The typical, default description field is 23 bytes wide. 6
@@ -314,6 +315,14 @@ icon selected by MIME content-type</description>
       element (such as cutting off the end of a bolded phrase), the
       results may affect the rest of the directory listing.</p>
     </note>
+
+    <note><title>Arguments with path information</title>
+      <p>Absolute paths are not currently supported and do not match
+      anything at runtime. Arguments with relative path information,
+      which would normally only be used in htaccess context, are implicitly 
+      prefixed with '*/' to avoid matching partial directory names.</p>
+    </note>
+
 </usage>
 </directivesynopsis>
 
@@ -522,6 +531,13 @@ a directory</description>
     <example>
       IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
     </example>
+
+    <note><title>Regular Expressions</title>
+      <p>This directive does not currently work in configuration sections
+      that have regular expression arguments, such as  <directive
+      module="core" type="section">DirectoryMatch</directive>
+      </p>
+    </note>
 </usage>
 </directivesynopsis>