and returned transparently to the client. <code class="directive">DirectoryIndexRedirect</code> causes an external redirect
to instead be issued.</p>
+ The argument can be :
+ <ul>
+ <li><code>on</code> : issues a 302 redirection to the index resource.</li>
+ <li><code>off</code> : does not issue a redirection. This is the legacy behaviour of mod_dir.</li>
+ <li><code>permanent</code> : issues a 301 (permanent) redirection to the index resource.</li>
+ <li><code>temp</code> : this has the same effect as <code>on</code></li>
+ <li><code>seeother</code> : issues a 303 redirection (also known as "See Other") to the index resource.</li>
+ <li><var>3xx-code</var> : issues a redirection marked by the chosen 3xx code.</li>
+ </ul>
+
+
<div class="example"><h3>Example</h3><pre class="prettyprint lang-config">
DirectoryIndexRedirect on
</pre>
>DirectoryIndexRedirect</directive> causes an external redirect
to instead be issued.</p>
+ The argument can be :
+ <ul>
+ <li><code>on</code> : issues a 302 redirection to the index resource.</li>
+ <li><code>off</code> : does not issue a redirection. This is the legacy behaviour of mod_dir.</li>
+ <li><code>permanent</code> : issues a 301 (permanent) redirection to the index resource.</li>
+ <li><code>temp</code> : this has the same effect as <code>on</code></li>
+ <li><code>seeother</code> : issues a 303 redirection (also known as "See Other") to the index resource.</li>
+ <li><var>3xx-code</var> : issues a redirection marked by the chosen 3xx code.</li>
+ </ul>
+
+
<example><title>Example</title>
<highlight language="config">
DirectoryIndexRedirect on