What to Do When Your CGI Program Doesn't Work
The following sections provide a general-purpose CGI program debugging guide. Before you read through all this information to find the problem in your first CGI program, go back through the instructions to make sure you didn't skip any steps.
By the time you reach the end of this hour, you should be able to find any problems your CGI program has.
The diagnostics in these sections assume you're debugging a program named hello.cgi. If your program has another name, use it instead.
Is It Your CGI Program?
The first potential source of problems to eliminate is the CGI program itself. There's no sense in debugging web server configurations if the CGI program doesn't work.
CGI programs can be run interactively ...
Get SAMS Teach Yourself Perl in 24 Hours THIRD EDITION now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.