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 2006/11/23 07:58:39 UTC

RE: Re[2]: Embperl::Object + FastCGI env configuration problems

Hi,

> 
> GR> How does your embofastcgi.pl look like?
> GR> Gerald
> BEGIN
>     {
>     %Embperl::initparam = (use_env => 1, use_redirect_env => 1) ;
>     }
> ...

>     {
>     my $rc = Embperl::Object::Execute ({use_env => 1, 
> use_redirect_env => 1}) ;
> 
...


This looks ok.

Could you try to put your configuration directly in the script i.e.

BEGIN
     {
	$ENV{EMBPERL_OBJECT_BASE} = '.htbase' ;
     %Embperl::initparam = (use_env => 1, use_redirect_env => 1) ;
     }

Does this make any difference?

Gerald


 
** Virus checked by BB-5000 Mailfilter ** 


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


Re[4]: Embperl::Object + FastCGI env configuration problems

Posted by Andrew Sitnikov <si...@infonet.ee>.
Hello Gerald,

GR> BEGIN
GR>      {
GR>         $ENV{EMBPERL_OBJECT_BASE} = '.htbase' ;
GR>      %Embperl::initparam = (use_env => 1, use_redirect_env => 1) ;
GR>      }
GR> Does this make any difference?
yes. that works. i think problem in Config.xs because fcgi ENV variables passed over fcgi request not over real ENV.

-- 
Best regards,
 Andrew                            mailto:sitnikov@infonet.ee


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