Java Mailing List Archive

http://www.apache-httpd.com/

Home » modperl.perl »

Using mod_perl on Vista - get Error - Can't load Perl module ModPerl::Registry

Mahesh Khambadkone

2009-05-30

Replies: Find Java Web Hosting

Author LoginPost Reply

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

<Location /hello>

            SetHandler modperl

            PerlResponseHandler Apache2::Hello

</Location>

 

 

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

<Directory /var/www/mkperl>

     SetHandler perl-script

    PerlHandler ModPerl::Registry

    Options +ExecCGI

    Order allow,deny

    Allow from all

</Directory>

 

What could be wrong?

Regards,
Mahesh Khambadkone
Co-founder and COO - games2win.com

42 Film Center, Tardeo, Mumbai 400034.
Cell : +91.98335.21313

 

 

 

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.