You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by eric lin <fs...@centurytel.net> on 2002/12/14 10:46:39 UTC
[users@httpd] after install mod_perl, still can not work well
Dear experienced webmaster or linuxer:
I download mod_perl 1.27 and install it also at my /etc/apache/httpd
add a line
LoadModule perl_module /usr/lib/apache/1.3/mod_perl.so
with my simple script /usr/lib/cgi-bin/entrance.cgi
#!/usr/bin/perl -wT
use strict;
use CGI ':standard';
use CGI qw(:standard);
my @param=param();
print "Content-type: text/html\n\n";
print "<html><body>\n";
print "This is an example CGI script.\n";
foreach my $name (param()) {
my @value = param($name);
print "<p>The field with the NAME attriabute equal to <b>
$name</b> had a VALUE equal to <b>@value</b></p>\n";
}
print "</body></html>";
------------------------------------------------------
it should show more than
This is an example CGI script
when I hit the submit bottom, but name and value
it is not what I expected, please help
--
Sincere Eric
www.linuxspice.com
linux pc for sale
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org