kflee2000 has asked for the wisdom of the Perl Monks concerning the following question:
When test it with: http://localhost/cgi-bin/tryit.cgi it works fine.
When test without use CGI: http://localhost/cgi-bin/hello.pl, it also work fine.
So I guess my apache setup is more or less ok.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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cgi.pm and apache
by Anonymous Monk on Jul 01, 2013 at 00:41 UTC | |
by Anonymous Monk on Jul 01, 2013 at 01:02 UTC | |
by kflee2000 (Initiate) on Jul 01, 2013 at 15:01 UTC |