[vox-tech] cgi-bin in user home dirs

Micah J. Cowan vox-tech@lists.lugod.org
Tue, 11 Feb 2003 08:46:39 -0800


> > Hi Tim,
> >
> > Thanks for the help.  I added both items to
> > httpd.conf and then restarted httpd.  Then I
> > keyed http://localhost/~ja/cgi-ja/test.cgi into
> > the browser location bar and got a "Not Found"
> > response.
> >
> 
> This is expected. CGI scripts are not intended to
> be called directly from the browser, instead they
> are executed from the HTML post operation
> located inside of a <FORM action="/cgi-ja/...">
> tag.

This is absolutely wrong. CGI scripts are very much intended to be
"callable from the browser" what do you think the GET method is?
Haven't you ever seen a URL that looks like:

  <a href="myscript.cgi?sessid=j4i9b9b9234">...</a>

?

-Micah