My program runs fine from the command line, but bombs out when run as a CGI script. Why?
Usually, this means one of two things: either you have misconfigured your system, or your script does not output the right stuff to be a CGI script. • You have specified the path to perl.exe correctly in your extension map, however that map is made • If you depend on the PATH variable, make sure that you put perl.exe in your system PATH, not just your personal PATH • The directory you use has Execute access, however that is specified with your Web server • The server’s user account has Read permissions to the script file • The server’s user account has Read permissions to the perl tools (binaries, library, modules) [Anything else? -ESP] Check the information above with a script that you _know_ creates the right output for the CGI protocol (scripts in this FAQ are a good first choice). Try it with your own script after you’re sure the test script will work. Whatever you do, don’t give up hope. It is, in fact, possible to get a Perl script running on your Web server. Really. 6.10. This i