You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Edouard Lagache <la...@canebas.org> on 2003/03/21 01:20:14 UTC

Re[3]: EMBPERL_OBJECT_BASE (again :-()

Dear Tia and other Embperl folks,

I added this declaration right below the use of Embperl like this:

###  EmbPerl declarations
PerlModule Embperl
Embperl_UseEnv on
AddType text/html .epl

Alas, nope this didn't change a thing.  Embperl still looks for
'_base.epl' only.  I've attached my whole httpd.conf in case the
problem lies elsewhere.  *Sigh*, S-S-S-Simple ... isn't it!

Thank again for all your help!

Peace, Edouard :-)

======================================================
On Thu, Mar 20, 2003 at 11:08:22PM +0200, Dimka wrote:
> EL> Alas, this didn't change as much as I would have hoped.  Now my httpd.conf
> EL> file is being happily used, but my declarations are still being ... ignored 
> EL> :-( Observe:
> 
> EL> [Thu Mar 20 11:57:06 2003] [error] [28298]ERR:  404: : Not found '_base.epl', searched: 
> EL> [Thu Mar 20 11:57:06 2003] [error] Embperl::Object base _base.epl not found. Searched '/home/httpd/htdocs' and '' 
> 
> EL> I've attached my latest httpd.conf file snippet.  Does anyone else see some 
> EL> other obvious stupid mistake that was desperately struggling to come 
> EL> out from my last mistake? :-)
> 
> Hi,
> 
> You have to set in your apache conf file "Embperl_UseEnv on".
> p.s. This must be outside of "Directory" tag.
> 
> tia,

Re: Re[3]: EMBPERL_OBJECT_BASE (again :-()

Posted by Jaak <va...@hot.ee>.
On Fri, 2003-03-21 at 02:20, Edouard Lagache wrote:
> Dear Tia and other Embperl folks,
> 

hi!

You also must have EMBPERL_APPNAME declaration in your config.


>>From README.v2:

- For every container in your httpd.conf (e.g.
VirtualHost,Directory,Location)
  where you want to define any application level configuration
directives
  (see below under tAppConfig for a list), you need to set a unique
  value for EMBPERL_APPNAME. This is for example necessay for all
  Embperl::Object parameters. Example:

  <Location /eo>
  EMBPERL_APPNAME my_embperl_app
  EMBPERL_OBJECT_BASE base.epl
  </Location>



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