[Zope] pcgi error message.

Andreas Kostyrka andreas@mtg.co.at
Fri, 20 Aug 1999 16:25:29 +0200 (CEST)


On Fri, 20 Aug 1999, Jeff Bauer wrote:

> Andreas Kostyrka wrote:
> > If this makes sense is questionable, and it's an bug if the
> > python in PCGI_EXE is not the first python on PATH.
> 
> It's definitely a bug.  Probably related to Principia legacy(?)
> Does removing the lines below make everything work okay?
> 
>     if ((p=strrchr(r->sw_exe, PATHSEP))==NULL)
>     {   
>         p = r->sw_exe;
>     }
>     else
>     {   
>         p++;
>     }
Well, actually, I just replaced the second parameter of the exec
from "p" to "r->sw_exe". It just started to work magically :)

Andreas
--
Andreas Kostyrka                     | andreas@mtg.co.at
phone: +43/1/7070750                 | phone: +43/676/4091256   
MTG Handelsges.m.b.H.                | fax:   +43/1/7065299
Raiffeisenstr. 16/9                  | 2320 Zwoelfaxing AUSTRIA