Re: EMBPERL_OBJECT_ADDPATH and httpd.conf

2004-02-26 Thread Pete Moran
Thanks Gerald, Works fine now Out of interest why are there extra enviromental variables, for instance I have REDIRECT_REDIRECT_EMBPERL_OBJECT_ADDPATH and EMBPERL_OBJECT_ADDPATH I am using Embperl-2.0b10 Cheers Pete On Fri, 2004-02-27 at 16:14, Gerald Richter wrote: > > > > Now I am assumi

Problem with Object::Execute

2004-02-26 Thread Ted Ede
Hi, Our website it Embperl based. I've just upgraded from Apache 1.3 to 2.0.46 as part of an upgrade to Redhat Enterprise linux. I've got mod_perl-1.99_09-10.ent and Embperl b10 installed. For the most part, the website works fine, but I can't get Execute to work properly. I've got a cgi scrip

Re: Problem with Object::Execute

2004-02-26 Thread Gerald Richter
> > When I call: > Embperl::Object::Execute({ inputfile => $file, > output=> \$result, > options => > 2|16|256|2048|8192|16384|1048576, > mtime => -M $file, >

Re: Sessions without cookies and EmbperlBlocks

2004-02-26 Thread Gerald Richter
> > I'm using Apache::SessionX as session manager for Embperl and running > alot of pages in EmbperlBlocks syntax. If people don't have cookies I > would like the sessionid to be set in the URL somehow (preferebly not > using cgi params). Is there any people that have any input on this ? > Embperl

Re: Problem with Object::Execute

2004-02-26 Thread Ted Ede
Hoisted by my own petard. Works like a champ. Thanks, Ted > > please remove the object_handler_class line, otherwise Embperl::Object will > try to load a class named 'no', which does not exists and for this reason, > the inherence hierachie isn't correct. > > Gerald > --

EMBPERL_OBJECT_ADDPATH and httpd.conf

2004-02-26 Thread Pete Moran
Hi all OK I have a site which is for different countries and different languages, what I wanted to do was have a EMBPERL_OBJECT_ADDPATH for each directory (which represented a different country/lang) - for example my httpd.conf PerlSetEnv EMBPERL_OPTIONS 2048 PerlSetEnv EMBPERL_DEBUG 1167 PerlSe

Re: EMBPERL_OBJECT_ADDPATH and httpd.conf

2004-02-26 Thread Gerald Richter
> > Now I am assuming that what I am trying to achieve isn't achieveable > in this way - but what are the alternatives ? I could modify the > EMBPERL_OBJECT_ADDPATH in each base.epl of each sub directory, but was > hoping there could be a more generic way of doing this ? > > Basicly what you done