eric lin wrote:
i tried to put a simple perl file in my /usr/lib/cgi-bin/entrance.pl
#!/usr/local/bin/perl
use strict;
use CGI ':standrard';
print "Content-type: text/html\n\n";
foreach my $name (param()) {
my @cpu=param($name);
print "<p>The field with the NAME attribute euual to <b>
$name</b> had a VALUE equal to <b>@cpu</b></p>\n";
:
when I click the submit bottom of my site in my browser it still
Internal Server Error
the first thing to check in a case like this is the apache error
log (probably logs/error_log under the apache serverroot). next
is to try to run the script from the command line, though that's
somewhat difficult with the cgi module. try these and see what
messages you get; they'll be key to figuring out what to do next.