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

Tim Riley vox-tech@lists.lugod.org
Tue, 11 Feb 2003 09:12:17 -0800


"Micah J. Cowan" wrote:

> > > 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>
>
> ?

Oh; yea; right; big one.

>
>
> -Micah
>
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech