]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Was wrong and misleading. Correct directory path, and give a slightly
authorRich Bowen <rbowen@apache.org>
Thu, 12 Feb 2004 02:47:36 +0000 (02:47 +0000)
committerRich Bowen <rbowen@apache.org>
Thu, 12 Feb 2004 02:47:36 +0000 (02:47 +0000)
more useful example.

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

docs/manual/howto/public_html.xml

index d96fddcd642faf1b5954d10edca12bd375cc81d5..468e083b8e76bd5aab89e011bde1e1242faa812c 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">