[mp2]make test problems

2002-12-03 Thread Beau E. Cox
NOTE: My name servers have been giving me fits today, so I am resending this problem report; If you have already received it, please forgive me = Beau. -8-- Start Bug Report 8-- 1. Problem Description: A. Apache 2.0.43: ./configure --enable-layout=SuSE

Re: Horrible handler memory leak

2002-12-03 Thread Stas Bekman
Hann, Brian wrote: I'm having a problem with a fairly simple handler eating up resources and I'm wondering if there's any easy way to track it down. The handler fetches data from an Oracle database and displays it using Template-Toolkit. Nothing fancy, just some display logic, etc. The

Re: [mp2.0]make test problems

2002-12-03 Thread Stas Bekman
There are two problems: C. Apache/Const not found: Can't locate Apache/Const.pm in @INC (@INC contains: Apache-Test/lib /usr/local/addons/mod_perl-1.99_07/Apache-Test/lib /usr/local/addons/mod_perl-1.99_07/lib /usr/local/addons/mod_perl-1.99_07/blib/lib

Re: [mp2.0]make test problems

2002-12-03 Thread Stas Bekman
Also, can you please try to do the testing with the cvs version of mod_perl 2.0? Since chances are that some things were fixed since last release (and possibly new bugs added :) See: http://perl.apache.org/download/source.html#2_0_Development_Source_Distribution (though use only the mod_perl

RE: [mp2.0]make test problems

2002-12-03 Thread Beau E. Cox
Ok Stas - I will pick up the cvs mod_perl now and try again. My ignorance is showing (20 yrs+ with M$ systems, only 1 1/2 yrs with Linux) but I did notice that mod_perl untared to beau:mysql? Where did that come from? umask? man umask only gives me (2) - programmers reference. Is there some

[mp2] the make test problem saga continues...

2002-12-03 Thread Beau E. Cox
-8-- Start Bug Report 8-- 1. Problem Description: A. Reinstalled apache 2.0.43 w/o my crazy SuSE layout, just: ./configure --with-mpm=worker Apache AOK. B. Pulled CVS source for mp2 as per web site instructions. perl

Re: [MP2] Handler feauters in a filter?

2002-12-03 Thread Stas Bekman
Issac Goldstand wrote: I'm writing a filter in which two lines of data are to be appended to the content going back. However, I'd like to test for a 404, and if found set the response to 200. Can this be done from the output filters? Or am I going to have to do something more complex with a

Re: [mp2.0]make test problems

2002-12-03 Thread Stas Bekman
My ignorance is showing (20 yrs+ with M$ systems, only 1 1/2 yrs with Linux) but I did notice that mod_perl untared to beau:mysql? Where did that come from? umask? man umask only gives me (2) - programmers reference. Is there some setup parameter I should set? I've read my SuSE admin guide and

RE: [mp2] the make test problem saga continues...

2002-12-03 Thread Beau E. Cox
Sir: You are correct; after changing owner:group settings to my normal user, apr/perlio worked fine under that user! Const.pm apache/subprocess fail in the same way as under root. progress...ain't it great! :) Aloha = Beau. PS: boy, you are brave; over the years I've learned not to say: I'm

RE: [mp2.0]make test problems

2002-12-03 Thread Narins, Josh
[EMAIL PROTECTED] writes: If it has anything to do with magic always remember to s/Stas/Doug/gi [EMAIL PROTECTED]: Name service error for dougon.org: Host not found hmmm :) -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 9:32 AM To:

Re: [mp2] the make test problem saga continues...

2002-12-03 Thread Stas Bekman
C. same Apache/Const.pm not found: Can't locate Apache/Const.pm in @INC (@INC contains: [...] D. same tests failed: apache/subprocessFAILED tests 1-4 Failed 4/4 tests, 0.00% okay OK, here is the patch that will 100% :) fix these two problems (apply manually

RE: [mp2] the make test problem saga continues...

2002-12-03 Thread Beau E. Cox
Ok Mr. 100%... ;-) I'll get cvs again. Aloha = Beau. -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 5:33 AM To: Beau E. Cox Cc: Modperl Subject: Re: [mp2] the make test problem saga continues... C. same Apache/Const.pm not found:

RE: [mp2] the make test problem saga continues...

2002-12-03 Thread Beau E. Cox
THIS THREAD IS OFFICIALLY RETIRED Yes, everthing works (although I still miss being King). Thank you for your time and effort. I hope others will benefit from what we went through. Aloha = Beau. -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December

Re: [MP2] Handler feauters in a filter?

2002-12-03 Thread Issac Goldstand
Implemented it in C: if (f-r-status==HTTP_NOT_FOUND) // If this is so, we need to revamp the request_rec { f-r-status=HTTP_OK; // Spoof HTTP_OK f-r-status_line=200 OK; APR_BRIGADE_INSERT_TAIL(ctx-bb,apr_bucket_eos_create(f-c-bucket_alloc)); // Add an EOS to the new bb

Re: [MP2] Handler feauters in a filter?

2002-12-03 Thread Stas Bekman
Issac Goldstand wrote: Implemented it in C: if (f-r-status==HTTP_NOT_FOUND) // If this is so, we need to revamp the request_rec { f-r-status=HTTP_OK; // Spoof HTTP_OK f-r-status_line=200 OK; APR_BRIGADE_INSERT_TAIL(ctx-bb,apr_bucket_eos_create(f-c-bucket_alloc)); // Add an EOS to the

Resetting cache Apache::Registry

2002-12-03 Thread Justin Luster
I know that when you require or use helper files in a Perl Script, and you are using Apache::Registry, when changes are made to the helper files they are not recognized until you restart Apache. In the documentation it says that you can change the Apache configuration file to do this for

Re: Resetting cache Apache::Registry

2002-12-03 Thread Geoffrey Young
The situation is that I?m using a shared server from a 3rd party hosting provider and I do not have control over what they have in their Apache configuration file. Every time I make a change to a helper file I need them to restart Apache. on the Cobalt and Ensim systems I have websites at,

RE: Resetting cache Apache::Registry

2002-12-03 Thread Justin Luster
Thank you. That is a good suggestion. -Original Message- From: Geoffrey Young [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 9:56 AM To: Justin Luster Cc: [EMAIL PROTECTED] Subject: Re: Resetting cache Apache::Registry The situation is that I?m using a shared server from

Re: Resetting cache Apache::Registry

2002-12-03 Thread Perrin Harkins
Justin Luster wrote: I know that when you “require” or “use” helper files in a Perl Script, and you are using Apache::Registry, when changes are made to the helper files they are not recognized until you restart Apache. In the documentation it says that you can change the Apache configuration

[mp2.0] How do I port modules using Apache::SIG?

2002-12-03 Thread Clare, Bruce W
I'm attempting to run Scoop 0.9 (scoop.kuro5hin.org) under Apache2/mod_perl 2.0 running on Windows 2000, but the application was written for Apache/mp 1.x, so it uses Apache::SIG (and possibly other) modules that are no longer in mod_perl. The mod_perl developer documentation for porting from

Online Tonight

2002-12-03 Thread David Wheeler
All, I will be the featured guest for an hour on the nationally syndicated talk radio show Online Tonight this evening at 8 pm PST (11 pm EST). Host David Lawrence and I be discussing Bricolage, its history, and content management in general. This is my first time on the radio, so it should

[ANNOUNCE] Apache::PAR 0.01

2002-12-03 Thread Nathan Byrd
Hi all, I am happy to announce the initial public release to CPAN of the Apache::PAR module. Apache::PAR is a framework for including Perl ARchive files in a mod_perl environment. It allows an author to package up a web application, including configuration, static files, Perl modules, and

Re: [mp2.0] How do I port modules using Apache::SIG?

2002-12-03 Thread Stas Bekman
Clare, Bruce W wrote: I'm attempting to run Scoop 0.9 (scoop.kuro5hin.org) under Apache2/mod_perl 2.0 running on Windows 2000, but the application was written for Apache/mp 1.x, so it uses Apache::SIG (and possibly other) modules that are no longer in mod_perl. The mod_perl developer

Re: [mp2.0] How do I port modules using Apache::SIG?

2002-12-03 Thread Stas Bekman
The changes are documented here: http://perl.apache.org/docs/2.0/user/compat/compat.html I haven't put it into the developer's guide, but the user's guide. Because the user's guide is for all people who write mod_perl code. The developer's guide is for those who tinker with the core. I'll put