literally if it has any arguments before or after it, even if they are "disabled"
as well.</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>
+ <highlight language="config">
+# 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>
+
+# Example C: To replace the list, you must explicitly reset it first:
+# In this example, only index.php will remain as an index resource.
+<Directory /foo>
+ DirectoryIndex index.html
+ DirectoryIndex disabled
+ DirectoryIndex index.php
+</Directory>
+ </highlight>
+
</usage>
</directivesynopsis>