<variant outdated="yes">de</variant>
<variant>en</variant>
<variant outdated="yes">es</variant>
- <variant outdated="yes">fr</variant>
+ <variant>fr</variant>
<variant outdated="yes">ja</variant>
<variant outdated="yes">tr</variant>
</variants>
as well.</p>
<p><strong>Note:</strong> Multiple <code class="directive">DirectoryIndex</code>
- directives within the <em>same context</em> will add to the list of resources to
- look for rather than replace:
+ 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>
<pre class="prettyprint lang-config">
-# Set the index files to look for
-DirectoryIndex index.html index.htm
+# 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>
-# This will add dynamic files to the list rather than replace it
-DirectoryIndex index.php index.pl index.lua
+# Example B: This is identical to example A, except it's done with a single directive.
+<Directory /foo>
+ DirectoryIndex index.html index.php
+</Directory>
-# To replace the list, we must first reset it, then set the new list
-DirectoryIndex disabled
-DirectoryIndex index.py
+# Example C: To replace the list, you must explicitly do so:
+# In this example, only index.php will remain as an index resource.
+<Directory /foo>
+ DirectoryIndex index.html
+ DirectoryIndex disabled
+ DirectoryIndex index.php
+</Directory>
</pre>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 420990:1353250 (outdated) -->
+<!-- English Revision: 420990:1353263 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
<?xml version="1.0" encoding="EUC-KR" ?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 151408:1353250 (outdated) -->
+<!-- English Revision: 151408:1353263 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1307726:1353250 (outdated) -->
+<!-- English Revision: 1307726:1353263 (outdated) -->
<!-- =====================================================
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by: Orhan Berent <berent belgeler.org>