You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Andrew Sitnikov <si...@infonet.ee> on 2006/11/16 13:37:52 UTC

Embperl::Object + FastCGI env configuration problems

  I try use Embperl::Object + apache mod_fastcgi. All works, except configuration params from ENV

  httpd.conf

  <Directory /home/<username>/public_html/embperl/fcgi/object>
        Action text/html /cgi-bin/fcgi/embofastcgi.pl

        SetEnv EMBPERL_ESCMODE 0
        SetEnv EMBPERL_OPTIONS 16

        SetEnv EMBPERL_OBJECT_BASE .htbase
        SetEnv EMBPERL_OBJEKT_FALLBACK .ht404
        SetEnv EMBPERL_DEBUG 1
        SetEnv EMBPERL_

        ...
  </Directory>


  i got error:
  
  [30946]ERR:  404: : Not found '_base.epl', searched:


  if i rename .htbase into _base.epl - all ok

  after some debugging i see that $appcfg -> object_base in Object.pm empty when i use fastcgi, but have properly value if i use cgi.

 i trace fastcgi call and see

\1\4\0\1\0\31\0\0\26\1REDIRECT_EMBPERL_DEBUG1
\1\4\0\1\0\33\0\0\30\1REDIRECT_EMBPERL_ESCMODE0
\1\4\0\1\0%\0\0\34\7REDIRECT_EMBPERL_OBJECT_BASE.htbase

as may be seen apache send this enviroment in request, but Embperl not use it.


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


RE: Embperl::Object + FastCGI env configuration problems

Posted by Gerald Richter <ri...@ecos.de>.
> 
>   I try use Embperl::Object + apache mod_fastcgi. All works, 
> except configuration params from ENV
> 
>   httpd.conf
> 
>   <Directory /home/<username>/public_html/embperl/fcgi/object>
>         Action text/html /cgi-bin/fcgi/embofastcgi.pl
> 

How does your embofastcgi.pl look like?

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