httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eric lin <fs...@centurytel.net>
Subject [users@httpd] after install mod_perl, still can not work well
Date Sat, 14 Dec 2002 09:46:39 GMT
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


Mime
View raw message