in reply to (OT) how to run cgi program

This is really not the site to help you configure your web server. But I'm sure you'll get some help if you do the following.

First, start by reading Apache's CGI tutorial. Read it again if you already have. Try doing the examples.

Then, if you still can't get it working, be more specific in describing your problem. Specifically, what error message are you getting, and what did you do that resulted in that error message. Don't you dare say "Internal Server Error" without giving us the appropriate entry in the error log file.

Replies are listed 'Best First'.
Re^2: (OT) how to run cgi program
by ptum (Priest) on Jan 13, 2006 at 18:14 UTC

    Hee hee. When I first started writing CGI scripts in '97, it was a surprisingly long time before I learned how to actually log in to the *nix server and execute the script from the command line to see what the problem was. Later I learned to look through Apache's error log, and much later I learned to use CGI::Carp qw(fatalsToBrowser). I'm rather embarrassed to think of how much unnecessary pain I inflicted on myself. I used to visibly flinch when I would see that dreaded "Internal Server Error" screen. :)