]> granicus.if.org Git - apache/commitdiff
This was wrong and misleading. Correct the file path, and give a more
authorRich Bowen <rbowen@apache.org>
Thu, 12 Feb 2004 02:42:17 +0000 (02:42 +0000)
committerRich Bowen <rbowen@apache.org>
Thu, 12 Feb 2004 02:42:17 +0000 (02:42 +0000)
useful example.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102634 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/howto/public_html.xml

index 81dde2202f9cfb7ca910e26ee2aeec7e1dc86521..3dc1acb61a09dffaa3a2e70aa3028f33cc70b8ee 100644 (file)
     cgi-enabled.</p>
 
     <example>
-      &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;
     </example>
 
+    <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>
+
+    <example>
+    http://example.com/~rbowen/cgi-bin/example.cgi
+    </example>
+
     </section>
 
     <section id="htaccess">