cgi-bin
and to be located in the served-root directory.
For example, the served-root directory
for vismath.org is:
~rha/public_html/vismath
in which there is a sub-directory cgi-bin.
2. Next, your script must have the suffix ".cgi"
or else it will not be executed as a script.
In addition, be sure to make it an executable
with the UNIX command:
% chmod 755 myscript.cgi
3. Finally, in the form where you will call this
script, refer to it with absolute URL referencing.
For example:
action="http://www.vismath.org/cgi-bin/myscript.cgi"