perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Sitnikov <sitni...@infonet.ee>
Subject Embperl::Object + FastCGI env configuration problems
Date Thu, 16 Nov 2006 12:37:52 GMT
  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


Mime
View raw message