Re: Scripts works under CGI but not under mod_perl

2007-08-13 Thread Manoj Bist
Hi Perrin, Is there some recommended way to detect if STDOUT is being manipulated? This is what I am doing. 1. Build a standalone binary that uses this lib. 2. Run this binary in the debugger and insert breakpoints in read, write, open and close. The library is using TCP sockets to communicate w

Re: Correct way to upload a file

2007-08-13 Thread Fred Moyer
[please cc the mod_perl list when responding] Mag Gam wrote: > Fred: > > Thanks. Looks like I may look into Mason for its simplification. I don't think I have a the patience or enthusiasm to learn the REquestReq feature of Mp2. It's not that hard, I would say it's no more complex than Mason (

Re: Scripts works under CGI but not under mod_perl

2007-08-13 Thread Perrin Harkins
On 8/13/07, Manoj Bist <[EMAIL PROTECTED]> wrote: > Thanks for the response. The C library is a third party library which does > the following: > > - Connect to a server running on port 7000 on the local machine. > - Make an initialize call > <==This call is consistently

Re: Scripts works under CGI but not under mod_perl

2007-08-13 Thread Manoj Bist
Hi Perrin, Thanks for the response. The C library is a third party library which does the following: - Connect to a server running on port 7000 on the local machine. - Make an initialize call <==This call is consistently failing under mod_perl. - Grab binary data retu

Re: Scripts works under CGI but not under mod_perl

2007-08-13 Thread Perrin Harkins
On 8/13/07, Manoj Bist <[EMAIL PROTECTED]> wrote: > I created a perl binding for a third party "C "library using swig. This > works fine under CGI but consistently fails under mod_perl. > Is there a known set of calls(mulithreading etc.) that is not expected to > work under mod_perl? Modules with

Re: SV: [mp2+Win32] Frustration over Apache 2.0/ 2.2 restart failure

2007-08-13 Thread Randy Kobes
On Sun, 12 Aug 2007, Foo JH wrote: William, the point I was trying to make is: 1. My restart test scope merely loads modperl + libapreq. There is ZERO application code loaded. In other words, all I did after installing modperl + libapreq is to ONLY load them into httpd.conf: LoadFile c:/Perl

Frustration over Apache 2.0/ 2.2 restart failure => possible package found

2007-08-13 Thread Foo JH
Hello Henrik, all, With kind references from the modperl community, I've managed to confirm a working Win32 modperl stack that will survive an apache restart based on zero application code config. Not only does this stack do exactly that, it is based on a more recent Visual C++ compiler, and c