RE: Execute in a specified syntax?

2007-04-02 Thread Gerald Richter - ECOS GmbH
> > Something like: > > [- Execute syntax="SSI" ('includes/header.shtml') -] > > perhaps? > Use [- Execute ({ syntax => "SSI", inputfile => 'includes/header.shtml'}) -] > Also, what has to be done to get embpcgi.pl to report > something more useful than just $rc and time? You might use t

RE: bug in eputil.c

2007-04-02 Thread Gerald Richter - ECOS GmbH
Hi, > If you make the mistake of setting EMBPERL_OUTPUT_MODE=XML > instead of EMBPERL_OUTPUT_MODE=1 then > embperl_OptionListSearch in eputil.c will go into an infinite loop. > > I don't see how that code can possibly work, since both > sKeyword loop and the pEntry->sOption inner loop look li

RE: using GET and POST simultan

2007-04-02 Thread Gerald Richter - ECOS GmbH
> > on Jul 19, 2000, 12:12 PM richter at ecos wrote: > >Currently Embperl cannot join the values from POST and GET > together (it's on >the TODO list). > > Is this still on the TODO list? > Yes Gerald - To unsubscribe, e

RE: $escmode behaving inconsistently?

2007-04-02 Thread Gerald Richter - ECOS GmbH
Hi, > > I want to completely turn off escaping in my application > (written in EMBPERL_OBJECT_APP mode). I have configured it in > the Apache configuration - I tried both with PerlSetEnv > EMBPERL_ESCMODE 0 and with EMBPERL_INPUT_ESCMODE 0. In both > cases, it works correctly the first time I

RE: strange Locking behavior on OS-X Server

2007-04-02 Thread Gerald Richter - ECOS GmbH
Hi, > > on OS-X Server, Version 10.4, > Apache/1.3.33 (Darwin) Embperl/2.2.0 DAV/1.0.3 mod_ssl/2.8.24 > OpenSSL/ 0.9.7l mod_perl/1.29 > > a strange behaviour occurs when using "File" as storaage and > either "Semaphore" or "File" as locking, under certain > circumstances mostly under a minimu

RE: bug in eputil.c

2007-04-02 Thread mda
On Mon, 2 Apr 2007 16:03:49 +0200, "Gerald Richter - ECOS GmbH" <[EMAIL PROTECTED]> said: > Hi, > > > If you make the mistake of setting EMBPERL_OUTPUT_MODE=XML > > instead of EMBPERL_OUTPUT_MODE=1 then > > embperl_OptionListSearch in eputil.c will go into an infinite loop. > > > > I don't s

Re: $escmode behaving inconsistently?

2007-04-02 Thread Gunnar Wolf
Gerald Richter - ECOS GmbH dijo [Mon, Apr 02, 2007 at 04:05:22PM +0200]: > Could you send your complete configuration regarding Embperl from your > httpd.conf? > > Gerald Of course. First of all, the /etc/apache2/mods-available/zembperl.{conf,load} files are IIRC the stock ones shipped with Debi

bugs in SSI.pm

2007-04-02 Thread Mark D. Anderson
1. Only sets DOCUMENT_URI in mod_perl. Fix: change in InitSSI to have: $ENV{DOCUMENT_URI} = $Embperl::req->apache_req ? $Embperl::req->apache_req->uri : $ENV{REQUEST_URI} ; 2. Assumes that SSI expressions are perl compatible. They aren't. Fix: insert into InterpretVars $val =~ s,!=\s*/,

RE: Re: $escmode behaving inconsistently?

2007-04-02 Thread Gerald Richter - ECOS GmbH
Hi, > > -comas.conf--- > > Alias /comas /home/gwolf/cvs/comas/trunk/embperl > > PerlSetEnv EMBPERL_ESCMODE 0 > PerlSetEnv EMBPERL_OPTIONS 16 > PerlSetEnv EMBPERL_MAILHOST mosca.iiec.unam.mx > PerlSetEnv EMBPERL_DEBUG 0