Newbie question on Apache::Debug::dump

2000-08-19 Thread Jay Strauss
Sorry if this has been asked before but I have been unable to find the answer (not in perldoc, apache modules book, searching archives): I would like my perl compilation and process errors to be written to an HTML page if/when they occur, in the same way they are written to stdout when I run

Strange exit error

2000-08-19 Thread Ron Pero
Am running In PerlRun $ENV{MOD_PERL} = mod_perl/1.21 This is perl, version 5.005_03 built for i386-freebsd It is on iserver, which has a virtual root system Am also running dbi. When the script calls "exit", it produces an error: at /usr/local/etc/httpd/cgi-bin/myscript.cgi line 366. line 366

Re: Strange exit error

2000-08-19 Thread Stas Bekman
On Sat, 19 Aug 2000, Ron Pero wrote: Am running In PerlRun $ENV{MOD_PERL} = mod_perl/1.21 This is perl, version 5.005_03 built for i386-freebsd It is on iserver, which has a virtual root system Am also running dbi. When the script calls "exit", it produces an error: at

RE: Strange exit error

2000-08-19 Thread Ron Pero
Dear Stas Thank you very much for your reply! It is the exit line -- I had isolated that with print statements. Could a "require" cause a problem? Main script requires another script; the other script calls a subroutine in the main script, which calls the exit. I added the carp lines you

Re: Strange exit error

2000-08-19 Thread Stas Bekman
Hmm, can you reproduce the same problem with a simple test script and send it to the list? I don't want to take up your time with my problems, so if I can't get this going under mod_perl I'll revert to cgi (it's not really a high volume site -- yet). Get the same result with Apache::exit.

Do you use iServer?

2000-08-19 Thread Ron Pero
Do you use mod_perl at iServer? If so, please drop me a line. I have a site there, and I'm running into bugs. It would be nice to see if someone else has the same problems, or otherwise commiserate about it. (iServer has an arrangement where you have simulated root privilege on a shared server.

SIGHUP failure

2000-08-19 Thread George Sanderson
The problem is when I "apachectl restart" (SIGHUP), all Apache processes die (no core dump). However, if I "apachectl stop", (SIGTERM) followed by "apachectl start" everything is OK (no error_log error messages and every thing works fine). My configuration is:

Re: Newbie question on Apache::Debug::dump

2000-08-19 Thread Craig McLane
The request object is $r Craig On Sat, 19 Aug 2000, Jay Strauss wrote: Sorry if this has been asked before but I have been unable to find the answer (not in perldoc, apache modules book, searching archives): I would like my perl compilation and process errors to be written to an HTML