--_000_DB27343170B6764ABBB195186225DDB1E260B88DF1EGLEX07VS01 ds_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
As part of a test that I wrote I do a
Use Apache::TestRequest qw(GET);
Plan test =3D> 1;
My $res;
$res =3D 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 serv=
er 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::Tes=
t env.
Regards,
Balaji
--_000_DB27343170B6764ABBB195186225DDB1E260B88DF1EGLEX07VS01 ds_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
[at] font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
..MsoChpDefault
{mso-style-type:export-only;}
[at] page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal>As part of a test that I wrote I do a <o:p></o:p></p>
<p class=3DMsoNormal>Use Apache::TestRequest qw(GET);<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>Plan test =3D> 1;<o:p></o:p></p>
<p class=3DMsoNormal>My $res;<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>$res =3D GET “ /perl/set_cookie.cgi”<o:p><=
/o:p></p>
<p class=3DMsoNormal>Ok $res->is_success, 1, “Request failed”=
;;<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>I also created a perl.conf.in with the following conf =
dir. <o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>Alias /perl $myhome/mod_perl/<o:p></o:p></p>
<p class=3DMsoNormal><Location /perl><o:p></o:p></p>
<p class=3DMsoNormal> SetHandler perl-script<o:p></o:p></p>
<p class=3DMsoNormal> PerlHandler ModPerl::Registry<o:p></o:p></p>
<p class=3DMsoNormal> Options +ExecCGI<o:p></o:p></p>
<p class=3DMsoNormal> Allow form all<o:p></o:p></p>
<p class=3DMsoNormal></Location><o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>I get an error PerlHandler perhaps mis-spelled or not&=
nbsp;
included in the server configuration. <o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>I added a line to load the module <o:p></o:p></p>
<p class=3DMsoNormal>LoadModule perl_module $basedir/libexec/mod_perl_5.8.s=
o <o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>Alias /perl $myhome/mod_perl/<o:p></o:p></p>
<p class=3DMsoNormal><Location /perl><o:p></o:p></p>
<p class=3DMsoNormal> SetHandler perl-script<o:p></o:p></p>
<p class=3DMsoNormal> PerlHandler ModPerl::Registry<o:p></o:p></p>
<p class=3DMsoNormal> Options +ExecCGI<o:p></o:p></p>
<p class=3DMsoNormal> Allow form all<o:p></o:p></p>
<p class=3DMsoNormal></Location><o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>But now I get the error mod_perl_5.8.so undefined symb=
ol:
apr_bucket_shared_split. <o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>Please suggest how do I get to execute a cgi script in=
stead
the Apache::Test env. <o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>Regards,<o:p></o:p></p>
<p class=3DMsoNormal>Balaji<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
</div>
</body>
</html>
--_000_DB27343170B6764ABBB195186225DDB1E260B88DF1EGLEX07VS01 ds_--
