You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sl...@apache.org on 2002/09/06 20:37:46 UTC

cvs commit: httpd-2.0/docs/manual/howto public_html.xml public_html.html.en

slive       2002/09/06 11:37:46

  Modified:    docs/manual/howto public_html.xml public_html.html.en
  Log:
  A couple small tweaks to the public_html tutorial.
  
  1. Add a <seealso> to urlmapping.html.
  
  2. Take some markup out of a <title>.  It is technically allowed,
  but probably not a good idea.
  
  3. Replace <DirectoryMatch /home/*/cgi-bin> with <Directory /home/*/cgi-bin>
  since that is a shell-style wildcard and not a regular expression.  Also
  replace Options +ExecCGI with Options ExecCGI, because it is safest to turn
  off non-CGI Options in a cgi-bin directory.
  
  Revision  Changes    Path
  1.2       +6 -5      httpd-2.0/docs/manual/howto/public_html.xml
  
  Index: public_html.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/howto/public_html.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -d -b -u -r1.1 -r1.2
  --- public_html.xml	15 Aug 2002 15:47:10 -0000	1.1
  +++ public_html.xml	6 Sep 2002 18:37:46 -0000	1.2
  @@ -17,6 +17,8 @@
   
   </summary>
   
  +<seealso><a href="../urlmapping.html">Mapping URLs to the Filesystem</a></seealso>
  +
     <section id="related">
       <title>Per-user web directories</title>
       <related>
  @@ -32,8 +34,7 @@
       </section>
   
       <section id="userdir">
  -    <title>Setting the file path with <directive
  -    module="mod_userdir">UserDir</directive></title>
  +    <title>Setting the file path with UserDir</title>
   
       <p>The <directive module="mod_userdir">UserDir</directive>
       directive specifies a directory out of which per-user
  @@ -107,13 +108,13 @@
     <title>Enabling a cgi directory for each user</title>
   
      <p>In order to give each user their own cgi-bin directory, you can use
  -    a <directive module="core">DirectoryMatch</directive>
  +    a <directive module="core" type="section">Directory</directive>
       directive to make a particular subdirectory of a user's home directory
       cgi-enabled.</p>
   
       <example>
  -      &lt;DirectoryMatch /home/*/cgi-bin/&gt;<br />
  -       Options +ExecCGI<br />
  +      &lt;Directory /home/*/cgi-bin/&gt;<br />
  +       Options ExecCGI<br />
          SetHandler cgi-script<br />
          &lt;/DirectoryMatch&gt;
       </example>
  
  
  
  1.5       +6 -6      httpd-2.0/docs/manual/howto/public_html.html.en
  
  Index: public_html.html.en
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/howto/public_html.html.en,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -d -b -u -r1.4 -r1.5
  --- public_html.html.en	6 Sep 2002 17:15:23 -0000	1.4
  +++ public_html.html.en	6 Sep 2002 18:37:46 -0000	1.5
  @@ -11,11 +11,11 @@
       out of the home directory of the user "<code>username</code>", out of
       the subdirectory specified by the <code class="directive"><a href="../mod/mod_userdir.html#userdir">UserDir</a></code> directive.</p>
   
  -</div><div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#related">Per-user web directories</a></li><li><img alt="" src="../images/down.gif" /> <a href="#userdir">Setting the file path with <code class="directive"><a href="../mod/mod_userdir.html#userdir">UserDir</a></code></a></li><li><img alt="" src="../images/down.gif" /> <a href="#enable">Restricting what users are permitted to use this 
  -    feature</a></li><li><img alt="" src="../images/down.gif" /> <a href="#cgi">Enabling a cgi directory for each user</a></li><li><img alt="" src="../images/down.gif" /> <a href="#htaccess">Allowing users to alter configuration</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="related" id="related">Per-user web directories</a></h2>
  +</div><div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#related">Per-user web directories</a></li><li><img alt="" src="../images/down.gif" /> <a href="#userdir">Setting the file path with UserDir</a></li><li><img alt="" src="../images/down.gif" /> <a href="#enable">Restricting what users are permitted to use this 
  +    feature</a></li><li><img alt="" src="../images/down.gif" /> <a href="#cgi">Enabling a cgi directory for each user</a></li><li><img alt="" src="../images/down.gif" /> <a href="#htaccess">Allowing users to alter configuration</a></li></ul><h3>See also</h3><ul class="seealso"><li><a href="../urlmapping.html">Mapping URLs to the Filesystem</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="related" id="related">Per-user web directories</a></h2>
       
       <table class="related"><tr><th>Related Modules</th><th>Related Directives</th></tr><tr><td><ul><li><code class="module"><a href="../mod/mod_userdir.html">mod_userdir</a></code></li></ul></td><td><ul><li><code class="directive"><a href="../mod/mod_userdir.html#userdir">UserDir</a></code></li><li><code class="directive"><a href="../mod/core.html#directorymatch">DirectoryMatch</a></code></li><li><code class="directive"><a href="../mod/core.html#allowoverride">AllowOverride</a></code></li></ul></td></tr></table>
  -    </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="userdir" id="userdir">Setting the file path with <code class="directive"><a href="../mod/mod_userdir.html#userdir">UserDir</a></code></a></h2>
  +    </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="userdir" id="userdir">Setting the file path with UserDir</a></h2>
       
   
       <p>The <code class="directive"><a href="../mod/mod_userdir.html#userdir">UserDir</a></code>
  @@ -86,13 +86,13 @@
     
   
      <p>In order to give each user their own cgi-bin directory, you can use
  -    a <code class="directive"><a href="../mod/core.html#directorymatch">DirectoryMatch</a></code>
  +    a <code class="directive"><a href="../mod/core.html#directory">&lt;Directory&gt;</a></code>
       directive to make a particular subdirectory of a user's home directory
       cgi-enabled.</p>
   
       <div class="example"><p><code>
  -      &lt;DirectoryMatch /home/*/cgi-bin/&gt;<br />
  -       Options +ExecCGI<br />
  +      &lt;Directory /home/*/cgi-bin/&gt;<br />
  +       Options ExecCGI<br />
          SetHandler cgi-script<br />
          &lt;/DirectoryMatch&gt;
       </code></p></div>