Hi all!
> 
> I have:
> 
> apache httpd-2.2.3
> mod_perl-2.0.2
> Embperl-2.2.0
> 
> where mod_perl is statically linked to httpd.
> 
> Now I try to load Embperl from httpd.conf with this directive:
> 
> PerlModule Embperl
> 

You also need a 

LoadModule embperl_module /path/to/Embperl.so

Before the PerlModule Embperl statement in your httpd.conf

> 
> However, if I try to use this directive instead:
> PerlPostConfigRequire "/home/user/startup.pl"
> 
> where startup.pl has this contents:
> 
> use Embperl;
> 1;
> 
> It works!
> 
> But why? As I understand it, it should not make any 
> difference to invoke PerlModule compared to invoke 
> PerlPostConfigRequire except when in time during the apache 
> start process processes the directive.
> 

I guess this is only chance. It will fail sooner or later without the
LoadModule

Gerald


 
** Virus checked by BB-5000 Mailfilter ** 

Reply via email to