You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by rb...@apache.org on 2002/06/26 04:24:18 UTC
cvs commit: httpd-docs-1.3/htdocs/manual/misc FAQ-E.html
rbowen 2002/06/25 19:24:18
Modified: htdocs/manual/misc FAQ-E.html
Log:
Add example to directory listing FAQ. Patch is in reaction to comments
made on IRC.
Revision Changes Path
1.19 +19 -3 httpd-docs-1.3/htdocs/manual/misc/FAQ-E.html
Index: FAQ-E.html
===================================================================
RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/misc/FAQ-E.html,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- FAQ-E.html 11 Mar 2002 00:31:21 -0000 1.18
+++ FAQ-E.html 26 Jun 2002 02:24:18 -0000 1.19
@@ -745,9 +745,25 @@
<p>To turn on automatic directory indexing, find the
<a href="../mod/core.html#options">Options</a> directive that
applies to the directory and add the <code>Indexes</code>
- keyword. To turn off automatic directory indexing, remove
+ keyword. For example:</p>
+
+ <blockquote><code>
+ <Directory /path/to/directory><br />
+ Options +Indexes<br />
+ </Directory>
+ </code></blockquote>
+
+ <p>To turn off automatic directory indexing, remove
the <code>Indexes</code> keyword from the appropriate
- <code>Options</code> line.</p>
+ <code>Options</code> line. To turn off directory listing
+ for a particular subdirectory, you can use
+ <code>Options -Indexes</code>. For example:</p>
+
+ <blockquote><code>
+ <Directory /path/to/directory><br />
+ Options -Indexes<br />
+ </Directory>
+ </code></blockquote>
<hr /></li>
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org