Re: [mp2] Problem with forking cleanup in high request rate server

2003-09-24 Thread Scot Martin
Stas Bekman wrote: >> When spawn_proc_prog() is called I get a segfault in strrchr when >> modperl_spawn_proc_prog calls ap_make_dirstr_parent, which then calls >> strrchr. Unfortunately, my Perl 5.8 and Apache are not compiled with >> debugging on so I'm recompiling all now. More later >

RE: Setting cookie and Redirecting requests...

2003-09-24 Thread simran
Hi Frank, Thankyou very much for sugessition. It works perfectly, except that i had to change $r->headers_out(...) to $r->err_headers_out(...) (not sure why, could have been a testing problem on my end...) I was hoping to not use a PerlTransHandler as then for every request i will be running tha

Re: defined, but undefined

2003-09-24 Thread Frantzcy Paisible
Thanx! That seems to work, i'll get it running like this and then convert to PM... My first goal is fasterm memory I have... then I'll make it less memory hungry... Thanx for your help... Frantzcy On 24 Sep 2003 17:03:43 -0400,Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Wed, 2003-09-24

Re: defined, but undefined

2003-09-24 Thread Perrin Harkins
On Wed, 2003-09-24 at 16:54, Frantzcy Paisible wrote: > Yes, I saw that, but was kind off trying to avoid it. > Is it the "only" way ? I have lots f "legacy" code in those lib file. It's definitely the best way to do it, but if you must, you can do this instead: BEGIN { do 'lib1.lib'; } That

Re: defined, but undefined

2003-09-24 Thread Frantzcy Paisible
Yes, I saw that, but was kind off trying to avoid it. Is it the "only" way ? I have lots f "legacy" code in those lib file. Frantzcy On 24 Sep 2003 16:53:35 -0400,Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Wed, 2003-09-24 at 16:44, Frantzcy Paisible wrote: > > ScriptB will break on "Unde

Re: defined, but undefined

2003-09-24 Thread Perrin Harkins
On Wed, 2003-09-24 at 16:44, Frantzcy Paisible wrote: > ScriptB will break on "Undefined subroutine > &Apache::ROOT::cgi_2dbin::ScriptB_2ecgi::read_query_string" http://perl.apache.org/docs/1.0/guide/porting.html#Name_collisions_with_Modules_and_libs You need to make your perl4-style .lib files

defined, but undefined

2003-09-24 Thread Frantzcy Paisible
Hi, I've just read the 79 pages long http://perl.apache.org/docs/1.0/guide/porting.html but I still cannot see the light... and franckly it kind off confused me. I'm trying to migrate from perl to mod_perl. I've tried Apache::PerlRun it works, but it's not enough. I'm aiming for Apache::Re

Re: logs 101: newbie questions r.e. log analysis and rolling

2003-09-24 Thread Perrin Harkins
On Wed, 2003-09-24 at 15:48, Tofu Optimist wrote: > I am a newbie, running Apache 2 and ModPerl 2 on a > RedHat Linux box. Pointers to relevant docs or > postings bery much appreciated. Seeking advice & > opinions. These are really not mod_perl questions. You should start with the apache documen

logs 101: newbie questions r.e. log analysis and rolling

2003-09-24 Thread Tofu Optimist
Hi -- Apologies for some very basic questions about logs. I am a newbie, running Apache 2 and ModPerl 2 on a RedHat Linux box. Pointers to relevant docs or postings bery much appreciated. Seeking advice & opinions. [1] What are my options for rolling Apache logs? Is there a preferred Apache tool

Re: Building mod_perl for Tenon's iTools on Mac OS 10.2

2003-09-24 Thread Stas Bekman
Peter Bengtson wrote: I've recently upgraded the pre-installed Perl 5.6 on a server running Mac OS 10.2 to Perl 5.8.0, and as part of the upgrade I need to recompile mod_perl (mod_perl-1.28). I'm not running Apple's Apache, but Tenon's integrated solution, iTools, based on apache_1.3.27. The mak

Re: Building mod_perl for Tenon's iTools on Mac OS 10.2

2003-09-24 Thread Ged Haywood
Hi there, On Wed, 24 Sep 2003, Peter Bengtson wrote: > I've recently upgraded the pre-installed Perl 5.6 on a server running > Mac OS 10.2 to Perl 5.8.0, and as part of the upgrade I need to > recompile mod_perl (mod_perl-1.28). > [snip] > However, the resulting module crashes Apache during sta

Building mod_perl for Tenon's iTools on Mac OS 10.2

2003-09-24 Thread Peter Bengtson
I've recently upgraded the pre-installed Perl 5.6 on a server running Mac OS 10.2 to Perl 5.8.0, and as part of the upgrade I need to recompile mod_perl (mod_perl-1.28). I'm not running Apple's Apache, but Tenon's integrated solution, iTools, based on apache_1.3.27. The make procedure runs with