in reply to cgi.pm and apache

But when I rename tryit.cgi to tryit.pl and it will not work! It showed the not-so-useful server error! Does it mean if one includes use CGI in the program, it has to use .cgi extentsion?

No, it doesn't mean that

Look in the error log , then learn to configure your apache from apache manual

brian's Guide to Solving Any Perl Problem, CGI Help Guide , Troubleshooting Perl CGI scripts , Re^8: How to use wxHtmlEasyPrinting (On debugging, verify everything, talk to teddybear ... and links and links , Tutorials: Perl documentation documentation, Searching Perl Documentation

Replies are listed 'Best First'.
Re^2: cgi.pm and apache
by Anonymous Monk on Jul 01, 2013 at 01:02 UTC

      thanks, it is the most obvious x permission issue that somehow skip my attention. On testing the tryit.cgi, can I save the form content to a file in the server? Try to insert file open in the "if (param())" section but does not seem to work.

      In other words, how to tell a section to be run as server side program while the other use CGI.pm for web construct?