httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1147328 - /httpd/httpd/trunk/docs/manual/mod/mod_dir.xml
Date Fri, 15 Jul 2011 21:47:16 GMT
Author: covener
Date: Fri Jul 15 21:47:15 2011
New Revision: 1147328

URL: http://svn.apache.org/viewvc?rev=1147328&view=rev
Log:
doc for DirectoryIndexRedirect

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_dir.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_dir.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_dir.xml?rev=1147328&r1=1147327&r2=1147328&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_dir.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_dir.xml Fri Jul 15 21:47:15 2011
@@ -104,6 +104,38 @@ a directory</description>
 </directivesynopsis>
 
 <directivesynopsis>
+<name>DirectoryIndexRedirect</name>
+<description>Configures an external redirect for directory indexes.
+</description>
+<syntax>DirectoryIndexRedirect on | off | permanent | temp | seeother | 
+<var>3xx-code</var>
+</syntax>
+<default>DirectoryIndexRedirect off</default>
+<contextlist><context>server config</context><context>virtual host</context>
+<context>directory</context><context>.htaccess</context></contextlist>
+<override>Indexes</override>
+<compatability>Available in version 2.3.14 and later</compatability>
+
+<usage>
+    <p>By default, the <directive>DirectoryIndex</directive> is selected
+    and returned transparently to the client.  <directive
+    >DirectoryIndexRedirect</directive> causes an external redirect
+    to instead be issued.</p>
+
+    <example><title>Example</title>
+      DirectoryIndexRedirect on
+    </example>
+
+    <p>A request for <code>http://example.com/docs/</code> would
+    return a temporary redirect to <code
+    >http://example.com/docs/index.html</code> 
+    if it exists.</p>
+
+</usage>
+</directivesynopsis>
+
+
+<directivesynopsis>
 <name>DirectorySlash</name>
 <description>Toggle trailing slash redirects on or off</description>
 <syntax>DirectorySlash On|Off</syntax>



Mime
View raw message