If you wan't to make the CGIs work server-wide, the default location is
/Library/WebServer/CGI-Executables. The default web server setting already has a
ScriptAlias directive pointing any address written as
www.example.com/cgi-bin redirect to this directory. The global webmaster... the server administrator is responsible for all CGIs in this directory.
If you want to let each individual webmasters take care of their own CGIs, each website can override this by creating their own cgi directory within their own web directory. This directory can be named anything (e.g. "/scripts/"). Generic form-to-mail type CGIs are usually placed in the /Library/Web... directory for global usage, but if a script is only used by a single website, it's usually put inside their own web directory. You may want to tweak their
httpd.conf file to assign this folder as the ScriptAlias target. When you do this, websites can execute the CGIs with the
.cgi extension (i.e. pass the script on to whatever compiler/interpretor, like perl). Otherwise, you'll need to name each script like
scriptname.pl or
scriptname.c instead of
scriptname.cgi.
Extended Keyboard Server Mac OS X (10.4.8)