#Check your /etc/httpd.conf file for a section something like this..
# note the use of trailing slashes.
    
    #
    # This should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    #
    
ScriptAlias /cgi-bin/ "/usr/local/cgi/"

    <Directory "/usr/local/cgi">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>

# the mac default is "/Library/WebServer/CGI-Executables/"