]> granicus.if.org Git - apache/commitdiff
Improve highlight
authorChristophe Jaillet <jailletc36@apache.org>
Fri, 27 May 2016 05:47:43 +0000 (05:47 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Fri, 27 May 2016 05:47:43 +0000 (05:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1745711 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/howto/public_html.xml
docs/manual/mod/mod_userdir.xml

index 15ef8604bb379e395383cb2cd9cc1f02c67f366a..16d05ce1030070382104b70cdf914daadc246e38 100644 (file)
     module="mod_userdir">UserDir</directive> directive.</p>
 <p>Note that, by default, access to these directories is <strong>not</strong>
     enabled. You can enable access when using <directive module="mod_userdir"
-    >UserDir</directive> by uncommenting the line</p>
-    <example>
+    >UserDir</directive> by uncommenting the line:</p>
+    <highlight language="config">
       #Include conf/extra/httpd-userdir.conf
-    </example>
+    </highlight>
     <p>in the default config file <code>conf/httpd.conf</code>, and adapting the <code
     >httpd-userdir.conf</code>
     file as necessary, or by including the appropriate directives in a
-    <code>Directory</code> block within the main config file.</p>
+    <directive module="core" type="section">Directory</directive> block
+    within the main config file.</p>
 </summary>
 
 <seealso><a href="../urlmapping.html">Mapping URLs to the Filesystem</a></seealso>
index 747113c2dbabf5e879ce5623f95ac5a4d7518d11..d30cd819fb837d042095ed4af7ecd440f65bb687 100644 (file)
@@ -78,7 +78,7 @@ host</context></contextlist>
 
     <p>If neither the <code>enabled</code> nor the
     <code>disabled</code> keywords appear in the
-    <code>Userdir</code> directive, the argument is treated as a
+    <directive>Userdir</directive> directive, the argument is treated as a
     filename pattern, and is used to turn the name into a directory
     specification. A request for
     <code>http://www.example.com/~bob/one/two.html</code> will be
@@ -156,7 +156,7 @@ UserDir enabled user1 user2 user3
 
     <p>User directory substitution is not active by default in versions
     2.1.4 and later.  In earlier versions, <code>UserDir public_html</code>
-    was assumed if no <directive module="mod_userdir">UserDir</directive>
+    was assumed if no <directive>UserDir</directive>
     directive was present.</p>
 
     <note><title>Merging details</title>