> >hosts. Do you use virtual hosts and have Embperl settings in more then
one
> >virtual host section ?
>
> Yes, but removing them doesn't fix the problem.
I have tested the virtual host problem inbetween and it seems not the source
of problems.
>
> First of all, Embperl is the only PerlModule I'm loading, so I don't
> have anything to compare it to.
>
Most other Perl module won't use Apache config directives, so there is not
much to compare outside anyway.
>
> Now we've got to very funny things here.
> 1. merge_server_configs is calling Embperl's directory merge call.
That's ok since Embperl uses this routines for both (server and directory
merge)
> 2. The basev value for the merge is 0.
>
Mmmh, so maybe we try to change the Embperl code to
static void *embperl_merge_dir_config (pool *p, void *basev, void *addv)
{
+ if (!basev)
+ return addv ;
+
+{
tApacheDirConfig *mrg = (tApacheDirConfig *)ap_palloc (p,
sizeof(tApacheDirConfig));
tApacheDirConfig *base = (tApacheDirConfig *)basev;
tApacheDirConfig *add = (tApacheDirConfig *)addv;
memcpy (mrg, base, sizeof (*mrg)) ;
#include "epcfg.h"
if (add -> bUseEnv >= 0)
base -> bUseEnv = add -> bUseEnv ;
return mrg ;
+ }
}
> So why is it 0?
Is it possible that you don't have any Embperl configuration directives
outside of a virtual host? That would explain the behaviour and then the
above change, should fix it.
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]