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/05/04 09:35:05 UTC

RE: Re: RE: apache/1.3.6 to lighttpd/2.2.0 issues

> > 
> > lighttpd doesn't use PATH_TRANSLATED.
> > I seem to have things working by doing $ENV{PATH_TRANSLATED} = 
> > $ENV{SCRIPT_FILENAME};
> > 
> > is there a reason your script doesn't use SCRIPT_FILENAME 
> in favor of 
> > PATH_TRANSLATED?
> 

That is to support calling a script as
/cgi-bin/embpcgi.pl/path/to/embperl.page.epl



> I was too quick. that doens't work with passing vars at all. hmm.
> 

What do you mean by "passing vars at all" ?

Maybe it help if you put something like

  use Data::Dumper ;
  open FH, ">/tmp/cgienv.log" ;
  print Dumper (\%ENV) ;
  close FH ;

At the top of embpexec.pl. That will shed some light how the environment is
setup and we should be able to adjust it.

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