]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Conversion from xml change - add correct path, and useful example.
authorRich Bowen <rbowen@apache.org>
Thu, 12 Feb 2004 03:06:34 +0000 (03:06 +0000)
committerRich Bowen <rbowen@apache.org>
Thu, 12 Feb 2004 03:06:34 +0000 (03:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@102636 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/howto/public_html.html.en

index 80f282303cf928c8436c8464b68c5c8b1ac0eefc..19e8028d977cdd9212492e7ccecd701b6b74c7f7 100644 (file)
     cgi-enabled.</p>
 
     <div class="example"><p><code>
-      &lt;Directory /home/*/cgi-bin/&gt;<br />
+      &lt;Directory /home/*/public_html/cgi-bin/&gt;<br />
        Options ExecCGI<br />
        SetHandler cgi-script<br />
        &lt;/Directory&gt;
     </code></p></div>
 
+    <p>Then, presuming that <code>UserDir</code> is set to
+    <code>public_html</code>, a cgi program <code>example.cgi</code>
+    could be loaded from that directory as:</p>
+
+    <div class="example"><p><code>
+    http://example.com/~rbowen/cgi-bin/example.cgi
+    </code></p></div>
+
     </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
 <h2><a name="htaccess" id="htaccess">Allowing users to alter configuration</a></h2>