Operating System - HP-UX
1825711 Members
3094 Online
109686 Solutions
New Discussion

Can't locate ModPerl/Registry.pm

 
jem systems
Occasional Contributor

Can't locate ModPerl/Registry.pm

Load apache/2.0.58 get the following error when try to start web services?

help
2 REPLIES 2
Piotr Kirklewski
Super Advisor

Re: Can't locate ModPerl/Registry.pm

Hi

Probably you get this worning according to some error during the instalation process.

Try to reinstall Apache, and Perl if it's steel not working.

Should work then.
Jesus is the King
Ralph Grothe
Honored Contributor

Re: Can't locate ModPerl/Registry.pm

Assuming that you installed the mod_perl correctly (or built it together with apache according to the installation instructions)
I would guess that you simply missed to load the Registry.pm during apache start.
There are several ways of doing so.
Many mod_perl developers prefer to bundle mod_perl related apache directives in a separate file for better maintainability by specifying it to the PerlRequire directive.
Otherwise if all you need is to define a PerlHandler to run (mod_perl proof) common CGIs by the Registry.pm wrapper then one usually puts something like this in apache's httpd.conf


PerlModule ModPerl::Registry

SetHandler perl-script
PerlHandler ModPerl::Registry




You may preload as many modules as you like (or rather as is sensible).
Just add other PerlModule statements.
Very common if your CGIs tamper with databases would for instance be
PerlModule DBI

Madness, thy name is system administration