Running the a cgi script with Apache::Test

Balaji Rajagopalan <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <DB27343170B6764ABBB195186225DDB1E260B88DF1@EGL-EX07VS01.ds.corp.yahoo.com>
As part of a test that I wrote I do a
Use Apache::TestRequest qw(GET);

Plan test => 1;
My $res;

$res = GET " /perl/set_cookie.cgi"
Ok $res->is_success, 1, "Request failed";

I also created a perl.conf.in with the following conf dir.

Alias /perl  $myhome/mod_perl/
<Location /perl>
  SetHandler perl-script
 PerlHandler ModPerl::Registry
 Options +ExecCGI
 Allow form all
</Location>

I get an error PerlHandler perhaps mis-spelled or not  included in the server configuration.

I added a line to load the module
LoadModule perl_module $basedir/libexec/mod_perl_5.8.so

Alias /perl  $myhome/mod_perl/
<Location /perl>
  SetHandler perl-script
 PerlHandler ModPerl::Registry
 Options +ExecCGI
 Allow form all
</Location>

But now I get the error mod_perl_5.8.so undefined symbol: apr_bucket_shared_split.

Please suggest how do I get to execute a cgi script instead the Apache::Test env.

Regards,
Balaji
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.