Skip to content

Commit 5aae06d

Browse files
committed
docs: Convert <strong>Note...</strong> to <note type="warning"> in Directory section (style guide cleanup)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933833 13f79535-47bb-0310-9956-ffa450edef68
1 parent 3267b65 commit 5aae06d

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

docs/manual/mod/core.xml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -946,22 +946,24 @@ named file-system directory, sub-directories, and their contents.</description>
946946
the corresponding <directive type="section">Directory</directive> will
947947
be applied.</p>
948948

949-
<p><strong>Note that the default access for
949+
<note type="warning">
950+
<p>The default access for
950951
<code>&lt;Directory "/"&gt;</code> is to permit all access.
951952
This means that Apache httpd will serve any file mapped from an URL. It is
952953
recommended that you change this with a block such
953-
as</strong></p>
954+
as</p>
954955

955956
<highlight language="config">
956957
&lt;Directory "/"&gt;
957958
Require all denied
958959
&lt;/Directory&gt;
959960
</highlight>
960961

961-
<p><strong>and then override this for directories you
962+
<p>Then override this for directories you
962963
<em>want</em> accessible. See the <a
963964
href="../misc/security_tips.html">Security Tips</a> page for more
964-
details.</strong></p>
965+
details.</p>
966+
</note>
965967

966968
<p>The directory sections occur in the <code>httpd.conf</code> file.
967969
<directive type="section">Directory</directive> directives

0 commit comments

Comments
 (0)