Re: mod_perl, ENV{'TZ'}, and localtime

2007-12-30 Thread Kirk Noda
At 09:12 PM 12/28/2007, you wrote: [...] The reason this does not work under modperl version 2.0 is because under handler perl-script, %ENV is untied from the C environment. The [...] Thanks very much, that works.

help with rewriting CGI

2007-12-30 Thread Raful Mr Mitchell H
I have a site that is written with traditional CGI (no cgi.pm ). I use mod_perl2 but rather than run the scripts as CGI I want to convert them to mod_perl. I have read Beckman's latest on mod_perl 2 and have Practical Mod_Perl. Here's the question. From what I have read, it looks like I

Re: help with rewriting CGI

2007-12-30 Thread Boysenberry Payne
Once complete, I can preload the modules at Apache startup. Is that correct? If you want to benefit from pre compiling your code using something like a startup.pl file to load the modules you use would speed things up considerably from running them as CGI cgi. I use 2 files one for 3rd

Re: [bugreport] Internal Server Error output - but no error

2007-12-30 Thread Kate Yoak
I have solved the problem. I was returning 200 instead of using Apache2::Const::OK. My response was indeed interpreted as 'OK by apache - but not by some place somewhere else. There was no error message anywhere. I'll modify the bugreport below to have it addressed or not at the

Re: resend: [mp2] bug report - heap management error in mod_perl on Windows

2007-12-30 Thread William A. Rowe, Jr.
Randy Kobes wrote: Hi Tom, Thanks for the detailed report, and patch. I tried out the patch with perl-5.8.8, compiled against Apache/2.2.4, and all the tests passed. However, the restart problem still remains; evidently, http://issues.apache.org/bugzilla/show_bug.cgi?id=43534 or something

svn commit: r607681 - in /perl/modperl/branches/threading/t: perl/ithreads3.t response/TestPerl/ithreads3.pm

2007-12-30 Thread gozer
Author: gozer Date: Sun Dec 30 21:55:42 2007 New Revision: 607681 URL: http://svn.apache.org/viewvc?rev=607681view=rev Log: Forgot to add the test case for a previous fix. Reviewed-By: gozer Submitted-By: Torsten Foertsch [EMAIL PROTECTED] Message-Id: [EMAIL PROTECTED] Added:

svn commit: r607687 - in /perl/modperl/trunk: Changes t/filter/TestFilter/with_subrequest.pm t/filter/with_subrequest.t xs/Apache2/SubRequest/Apache2__SubRequest.h

2007-12-30 Thread gozer
Author: gozer Date: Sun Dec 30 22:48:57 2007 New Revision: 607687 URL: http://svn.apache.org/viewvc?rev=607687view=rev Log: Fix a crash when running a sub-request from within a filter where mod_perl was not the content handler. Running modperl_wbucket_flush(rcfg-wbucket) before the subrequest

svn commit: r607690 [2/2] - in /perl/modperl/trunk: src/modules/perl/ xs/ xs/APR/Base64/ xs/APR/Brigade/ xs/APR/Bucket/ xs/APR/BucketAlloc/ xs/APR/Error/ xs/APR/Finfo/ xs/APR/Lock/ xs/APR/PerlIO/ xs/A

2007-12-30 Thread gozer
Modified: perl/modperl/trunk/xs/Apache2/Module/Apache2__Module.h URL: http://svn.apache.org/viewvc/perl/modperl/trunk/xs/Apache2/Module/Apache2__Module.h?rev=607690r1=607689r2=607690view=diff == ---

svn commit: r607692 - in /perl/modperl/trunk: src/modules/perl/ xs/APR/Socket/ xs/Apache2/Directive/ xs/Apache2/RequestRec/

2007-12-30 Thread gozer
Author: gozer Date: Sun Dec 30 23:31:16 2007 New Revision: 607692 URL: http://svn.apache.org/viewvc?rev=607692view=rev Log: *Whitespace* expands tabs in C files Reviewed-by: gozer Submitted-by: Torsten Foertsch [EMAIL PROTECTED] Message-Id: [EMAIL PROTECTED] Modified:

svn commit: r607693 - in /perl/modperl/trunk/t: apache/ apr-ext/ directive/ filter/ hooks/ modperl/ perl/ protocol/

2007-12-30 Thread gozer
Author: gozer Date: Sun Dec 30 23:36:46 2007 New Revision: 607693 URL: http://svn.apache.org/viewvc?rev=607693view=rev Log: *Whitespace* removes trailing whitespace and expands tabs in t/*.t Reviewed-by: gozer Submitted-by: Torsten Foertsch [EMAIL PROTECTED] Message-Id: [EMAIL PROTECTED]