Using mod_perl on Vista - get Error - Can"t load Perl module ModPerl::Registry
am 30.05.2009 17:49:55 von Mahesh KhambadkoneThis is a multi-part message in MIME format.
------=_NextPart_000_0008_01C9E16C.63AF9A20
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hi,
I followed instructions at
http://perl.apache.org/docs/2.0/os/win32/install.html and
http://perl.apache.org/docs/2.0/rename.html to install mod_perl on my
configuration : Windows Vista, perl v5.10.0, ActivePerl 5.10.0 and Apache
2.3.
I can run sample a sample Hello.pm using the following in my httpd.conf :
PerlModule Apache2::Hello
SetHandler modperl
PerlResponseHandler Apache2::Hello
But, if I want to run old Perl CGI scripts by adding a block like the
following, Apache throws an error "Can't load Perl module ModPerl::Registry
for server XXX, so exiting ".
PerlModule ModPerl::Registry
PerlSendHeader On
SetHandler perl-script
PerlHandler ModPerl::Registry
Options +ExecCGI
Order allow,deny
Allow from all
What could be wrong?
Regards,
Mahesh Khambadkone
Co-founder and COO - games2win.com
42 Film Center, Tardeo, Mumbai 400034.
Cell : +91.98335.21313
------=_NextPart_000_0008_01C9E16C.63AF9A20
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
charset=3Dus-ascii">
style=3D'font-size:
12.0pt'>Hi,
style=3D'font-size:
12.0pt'>
style=3D'font-size:
12.0pt'>I followed instructions at
href=3D"http://perl.apache.org/docs/2.0/os/win32/install.htm l">http://per=
l.apache.org/docs/2.0/os/win32/install.html
and
href=3D"http://perl.apache.org/docs/2.0/rename.html">http:// perl.apache.o=
rg/docs/2.0/rename.html
to install mod_perl on my configuration : Windows Vista, perl v5.10.0, =
ActivePerl
5.10.0 and Apache 2.3.
style=3D'font-size:
12.0pt'>
style=3D'font-size:
12.0pt'>I can run sample a sample Hello.pm using the following in my =
httpd.conf
:
style=3D'font-size:
12.0pt'>PerlModule Apache2::Hello
style=3D'font-size:
12.0pt'><Location /hello>
style=3D'font-size:
12.0pt'>  =
; SetHandler
modperl
style=3D'font-size:
12.0pt'>  =
; PerlResponseHandler
Apache2::Hello
style=3D'font-size:
12.0pt'></Location>
style=3D'font-size:
12.0pt'>
style=3D'font-size:
12.0pt'>
style=3D'font-size:
12.0pt'>But, if I want to run old Perl CGI scripts by adding a block =
like the
following, Apache throws an error “Can't load Perl module
ModPerl::Registry for server XXX, so exiting =
”.
style=3D'font-size:
12.0pt'>
style=3D'font-size:
12.0pt'>PerlModule ModPerl::Registry
style=3D'font-size:
12.0pt'>PerlSendHeader On
style=3D'font-size:
12.0pt'><Directory /var/www/mkperl>
style=3D'font-size:
12.0pt'> SetHandler =
perl-script
style=3D'font-size:
12.0pt'> PerlHandler =
ModPerl::Registry
style=3D'font-size:
12.0pt'> Options +ExecCGI
style=3D'font-size:
12.0pt'> Order allow,deny
style=3D'font-size:
12.0pt'> Allow from all
style=3D'font-size:
12.0pt'></Directory>
style=3D'font-size:
12.0pt'>
style=3D'font-size:
12.0pt'>What could be wrong?
style=3D'font-size:12.0pt'>Regards,
Mahesh Khambadkone
Co-founder and COO - games2win.com
42 Film Center, Tardeo, Mumbai 400034.
Cell : +91.98335.21313
style=3D'font-size:12.0pt'>
style=3D'font-size:12.0pt'>
style=3D'font-size:
12.0pt'>
------=_NextPart_000_0008_01C9E16C.63AF9A20--