Loading docs/manual/mod/mod_dir.xml +18 −0 Original line number Diff line number Diff line Loading @@ -94,6 +94,24 @@ a directory</description> <p>would cause the CGI script <code>/cgi-bin/index.pl</code> to be executed if neither <code>index.html</code> or <code>index.txt</code> existed in a directory.</p> <p><strong>Note:</strong> Multiple <directive>DirectoryIndex</directive> directives within the <a href="../sections.html"><em>same context</em></a> will add to the list of resources to look for rather than replace: </p> <example> <pre># Example A: Set index.html as an index page, then add index.php to that list as well. <Directory /foo> DirectoryIndex index.html DirectoryIndex index.php </Directory> # Example B: This is identical to example A, except it's done with a single directive. <Directory /foo> DirectoryIndex index.html index.php </Directory></pre> </example> </usage> </directivesynopsis> Loading Loading
docs/manual/mod/mod_dir.xml +18 −0 Original line number Diff line number Diff line Loading @@ -94,6 +94,24 @@ a directory</description> <p>would cause the CGI script <code>/cgi-bin/index.pl</code> to be executed if neither <code>index.html</code> or <code>index.txt</code> existed in a directory.</p> <p><strong>Note:</strong> Multiple <directive>DirectoryIndex</directive> directives within the <a href="../sections.html"><em>same context</em></a> will add to the list of resources to look for rather than replace: </p> <example> <pre># Example A: Set index.html as an index page, then add index.php to that list as well. <Directory /foo> DirectoryIndex index.html DirectoryIndex index.php </Directory> # Example B: This is identical to example A, except it's done with a single directive. <Directory /foo> DirectoryIndex index.html index.php </Directory></pre> </example> </usage> </directivesynopsis> Loading