You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Gerald Richter <ri...@ecos.de> on 2002/07/30 07:25:59 UTC

Re: configure Embperl with mod_perl 2 (was: using a diffrent EMBPERL_OBJECT_BASE)

Hi,

> I didn't send this to the list, as I thought it would be annoying to the
> others to get the same question twice. please forward if you see fit.
>

Other may run into the same trouble, so it's good to keep this discussion on
the list. This saves me from answering the same questions over and over
again.

>
> I checked the httpd.conf, and no there is no ClearModuleList anywhere in
the
> file. In fact I am using the same file from the Apache2..0.39 distribution
> adding the directives I need.
>

I didn't was aware that you are running Apache 2. In this case you have to
addtionaly load Embperl.so into your httpd.conf. (You can't know this,
because it's not documented yet):

Here is what I just added to the docs (not online yet):

For B<mod_perl 2.0> you need addtionaly to load the dynamic object library
of Embperl. This is
necessary so Embperl is loaded early enough to register the configuration
directives
with Apache. After installing, search underneath your Perl site directory
for the
library. On Unix it is mostly called F<Embperl.so> on Windows it is called
C<Embperl.dll>.
Now add the following line to your httpd.conf B<before> any of the Embperl
configuration
directives, but B<after> F<mod_perl.so> is loaded:

    LoadModule  embperl_module  /path/to/perl/site/lib/Embperl/Embperl.so


Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org