]> granicus.if.org Git - apache/commitdiff
Building changes from XML. Correct path and more useful example.
authorRich Bowen <rbowen@apache.org>
Thu, 12 Feb 2004 19:14:18 +0000 (19:14 +0000)
committerRich Bowen <rbowen@apache.org>
Thu, 12 Feb 2004 19:14:18 +0000 (19:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102638 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/howto/public_html.html.en

index 98f0e395e0e9afdafe6127041aa1a52203c3443c..7a833a46fc4b2407a7cdee66474186fceb4e571c 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>