N
Nicolas D
Hello,
My perl program doesn't work.
In my error.log i have:
[error] 27979: ModPerl::Registry: Can't locate CGI_Lite.pm in @INC
(@INC... contains: /var/www/perl
In my httpd2.conf i have:
Alias /perl/ /var/www/perl/
<Location /perl>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
</Location>
and my perl script :
#!/usr/bin/perl
use CGI_Lite;
$cgi=new CGI_Lite;
#!/usr/bin/perl
use CGI_Lite;
$cgi=new CGI_Lite;
%in = $cgi->parse_form_data;
print "Content-type: text/html\n\n\";
print "<h1>Bonjour $in{'nom'} !</h1>";
so, where is the problem ?
Thanks
My perl program doesn't work.
In my error.log i have:
[error] 27979: ModPerl::Registry: Can't locate CGI_Lite.pm in @INC
(@INC... contains: /var/www/perl
In my httpd2.conf i have:
Alias /perl/ /var/www/perl/
<Location /perl>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
</Location>
and my perl script :
#!/usr/bin/perl
use CGI_Lite;
$cgi=new CGI_Lite;
#!/usr/bin/perl
use CGI_Lite;
$cgi=new CGI_Lite;
%in = $cgi->parse_form_data;
print "Content-type: text/html\n\n\";
print "<h1>Bonjour $in{'nom'} !</h1>";
so, where is the problem ?
Thanks