mod_perl configuration

--000e0cd179e2e154160466f3d107
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

operating System: Vista
ActivePerl5.10
Apache 2.2.11

mod_perl2.004

Mod_perl has been installed successfully for Perl5.10.

C:\>ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/mod_perl.ppd
Downloading mod_perl-2.000004...done
Unpacking mod_perl-2.000004...done
Generating HTML for mod_perl-2.000004...done
Updating files in site area...done
Downloading mod_perl-2.000004 install script...done
Running mod_perl-2.000004 install script...
The Apache2 module mod_perl.so is needed to complete the installation,
and should be placed in your Apache2 modules directory. I will
now fetch and install this for you.

Fetching http://cpan.uwinnipeg.ca/PPMPackages/10xx/x86/mod_perl.so ...
done!
Where should mod_perl.so be placed? [D:/Apache2.2/modules] C:\Program
Files\Apac
he Software Foundation\Apache2.2\modules\
mod_perl.so has been successfully installed to
C:/PROGRA~1/APACHE~1/Apache2.2/mo
dules.
To enable mod_perl, put in the directives
LoadFile "C:/Path/to/Perl/bin/perl510.dll"
LoadModule perl_module modules/mod_perl.so
in httpd.conf. For more information, visit
http://perl.apache.org/
and especially see
http://perl.apache.org/docs/2.0/rename.html

done


But it gives the error when I adds the following line in httpd.conf?

LoadModule perl_module modules/mod_perl.so
Error:
The request operation has failed.
Is there need to add the above line in httpd.conf?

--000e0cd179e2e154160466f3d107
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p>operating System: Vista<br>ActivePerl5.10<br>Apache 2.2.11</p>
<p>mod_perl2.004</p>
<p>Mod_perl has been installed successfully for Perl5.10.</p>
<p>C:\>ppm install <a href=3D"http://cpan.uwinnipeg.ca/PPMPackages/10xx/=
mod_perl.ppd">http://cpan.uwinnipeg.ca/PPMPackages/10xx/mod_ perl.ppd</a><br=
>Downloading mod_perl-2.000004...done<br>Unpacking mod_perl-2.000004...done=
<br>
Generating HTML for mod_perl-2.000004...done<br>Updating files in site area=
....done<br>Downloading mod_perl-2.000004 install script...done<br>Running m=
od_perl-2.000004 install script...<br>The Apache2 module mod_perl.so is nee=
ded to complete the installation,<br>
and should be placed in your Apache2 modules directory. I will<br>now fetch=
and install this for you.</p>
<p>Fetching <a href=3D"http://cpan.uwinnipeg.ca/PPMPackages/10xx/x86/mod_pe=
rl.so">http://cpan.uwinnipeg.ca/PPMPackages/10xx/x86/mod_per l.so</a> ...=A0=
done!<br>Where should mod_perl.so be placed? [D:/Apache2.2/modules] C:\Pro=
gram Files\Apac<br>
he Software Foundation\Apache2.2\modules\<br>mod_perl.so has been successfu=
lly installed to C:/PROGRA~1/APACHE~1/Apache2.2/mo<br>dules.<br>To enable m=
od_perl, put in the directives<br>=A0=A0 LoadFile "C:/Path/to/Perl/bin=
/perl510.dll"<br>
=A0=A0 LoadModule perl_module modules/mod_perl.so<br>in httpd.conf. For mor=
e information, visit<br>=A0=A0 <a href=3D"http://perl.apache.org/">http://p=
erl.apache.org/</a><br>and especially see<br>=A0=A0 <a href=3D"http://perl.=
apache.org/docs/2.0/rename.html">http://perl.apache.org/docs /2.0/rename.htm=
l</a></p>

<p>done</p>
<p><br>But it gives the error when I=A0adds the following line in httpd.con=
f?</p>
<p>LoadModule perl_module modules/mod_perl.so</p>
<div>Error:</div>
<div>The request operation has failed.</div>
<div>Is there need to add the above line in httpd.conf?</div>
<div>=A0</div>
<div>=A0</div>
<div>=A0</div>
<p>=A0</p>

--000e0cd179e2e154160466f3d107--
sandhya pawar [ Di, 07 April 2009 11:41 ] [ ID #1996693 ]

Re: mod_perl configuration

sandhya pawar wrote:
> mod_perl.so has been successfully installed to
> C:/PROGRA~1/APACHE~1/Apache2.2/modules.
> To enable mod_perl, put in the directives
> LoadFile "C:/Path/to/Perl/bin/perl510.dll"
> LoadModule perl_module modules/mod_perl.so
> in httpd.conf. For more information, visit
> http://perl.apache.org/
> and especially see
> http://perl.apache.org/docs/2.0/rename.html
>
> done

Including LoadFile prior to LoadModule?

> But it gives the error when I adds the following line in httpd.conf?
>
> LoadModule perl_module modules/mod_perl.so
>
> Error:
> The request operation has failed.

What does httpd -t say? What does your error log say? What does your
windows application event log say about httpd?
wrowe [ Di, 07 April 2009 19:07 ] [ ID #1996694 ]
Webserver » gmane.comp.apache.mod-perl » mod_perl configuration

Vorheriges Thema: mod_perl6 availability?
Nächstes Thema: srand