Hmmmm. There are a number of things that can prevent you from invoking a CGI script from a browser. You'll probably need to give us more information.
- Are you able to see the http://your.server.com/server-status page? Apache (if properly configured, started, etc., ought to give you a status page at that URL (assuming you have server-status turned on in your httpd.conf). If it doesn't, you may have problems with your Apache installation.
- Is your cgi-bin directory ScriptAlias-ed, and does it have a <Directory> entry? If not, you'll need to edit your httpd.conf file accordingly and restart Apache.
- Is the CGI script executable by the user that Apache is running under?
- Is the CGI script printing the proper header information first, before it prints anything else?
Just a few thoughts to get you started. Post a little more detail and you will probably be pleasantly surprised at how helpful this community can be.
No good deed goes unpunished. -- (attributed to) Oscar Wilde