Re: [mp2] mod_perl (current cvs) and multiple Apache2s make problems

2004-03-31 Thread Stas Bekman
Beau E. Cox wrote: [...] The module in question - mod_perl.c - line 614 is ' rcfg = '. I hand- expanded the MP_dRCFG macro in the hope if getting more information, but all that showed is, indeed, the routine was entered with a non-NULL request_rec: A handy tip: you can make gdb open macros for you:

Re: [mp2] mod_perl (current cvs) and multiple Apache2s make problems

2004-03-31 Thread Beau E. Cox
On Wednesday 31 March 2004 07:11 pm, Geoffrey Young wrote: > Geoffrey Young wrote: > >>anway, I'm trying my best to track it down, as is philippe, but more eyes > >>are always welcome. if you're looking for a place to start, I'd check > >> out all the APR commits over the past two weeks - that is

Re: [mp2] mod_perl (current cvs) and multiple Apache2s make problems

2004-03-31 Thread Geoffrey Young
Geoffrey Young wrote: >>anway, I'm trying my best to track it down, as is philippe, but more eyes >>are always welcome. if you're looking for a place to start, I'd check out >>all the APR commits over the past two weeks - that is first on my list once >>I get a free moment. > > > for those fol

Re: [mp2] mod_perl (current cvs) and multiple Apache2s make problems

2004-03-31 Thread Geoffrey Young
> anway, I'm trying my best to track it down, as is philippe, but more eyes > are always welcome. if you're looking for a place to start, I'd check out > all the APR commits over the past two weeks - that is first on my list once > I get a free moment. for those following along, it definitely se

Re: [mp2] mod_perl (current cvs) and multiple Apache2s make problems

2004-03-31 Thread Geoffrey Young
> I stand corrected. mod_auth_digest is alive and well in 2.1. I > thought is was not because the mod_perl test was kicking in with > another version. :) > NOW, I am testing mod_perl2 (cvs) with Apache2.1 - and - > seg faults _everywhere_. Has anyone tried it yet (I know it is not > supported ye

Re: [mp2] mod_perl (current cvs) and multiple Apache2s make problems

2004-03-31 Thread Beau E. Cox
On Wednesday 31 March 2004 08:57 am, Geoffrey Young wrote: > >>APACHE_TEST_HTTPD=/PATH/TO/HTTPD make test > >> > >>or > >> > >>t/TEST -httpd=/path/to/httpd > >> > >>etc. please refer to the documentation for more options. > > > > OK, I used option 1 above, however, it seems that the test suite > >

Re: [mp2] custom_response() in HTTP Request Output Filters?

2004-03-31 Thread John D . Lima
On Mar 31, 2004, at 11:46 AM, Geoffrey Young wrote: Under certain conditions I want to add additional html to the server's error response But John is talking about converting a non-error response into an error. Does it still apply? I don't know. it was the above quoted part that caught my atte

Setting a perl variable in a VirtualHost via a section

2004-03-31 Thread Mark Doyle
Greetings, I haven't been able to figure this one out from the available documentation and guide. This mod_perl 1.2X... Currently I have a bunch of virtual hosts with configs like: ServerName foo.aps.org PerlSetVar APSProduct "FOO" DocumentRoot /FOO ResourceConfig conf/homepage.conf w

Re: Problems with Apache::Reload (Was "Exported methods don't reload under Apache::StatINC")

2004-03-31 Thread Stas Bekman
Perrin Harkins wrote: On Wed, 2004-03-31 at 15:04, Stas Bekman wrote: Sorry, I've posted the wrong link. It should have been: http://perl.apache.org/docs/2.0/api/Apache/Reload.html#Problems_with_Scripts_Running_with_Registry_Handlers_that_Cache_the_Code It doesn't really offer a nice solution th

Re: Problems with Apache::Reload (Was "Exported methods don't reload under Apache::StatINC")

2004-03-31 Thread Perrin Harkins
On Wed, 2004-03-31 at 15:04, Stas Bekman wrote: > Sorry, I've posted the wrong link. It should have been: > http://perl.apache.org/docs/2.0/api/Apache/Reload.html#Problems_with_Scripts_Running_with_Registry_Handlers_that_Cache_the_Code It doesn't really offer a nice solution though, does it? It l

Re: Problems with Apache::Reload (Was "Exported methods don't reload under Apache::StatINC")

2004-03-31 Thread Garth Webb
On Wed, 2004-03-31 at 12:04, Stas Bekman wrote: > Garth Webb wrote: > > On Tue, 2004-03-30 at 19:28, Stas Bekman wrote: > > > >>Garth Webb wrote: > >> > >>>I have a question about Apache::StatINC and reloading exported methods. > >> > >>Garth, Apache::StatINC is deprecated and no longer maintaine

Re: Problems with Apache::Reload (Was "Exported methods don't reload under Apache::StatINC")

2004-03-31 Thread Stas Bekman
Garth Webb wrote: On Tue, 2004-03-30 at 19:28, Stas Bekman wrote: Garth Webb wrote: I have a question about Apache::StatINC and reloading exported methods. Garth, Apache::StatINC is deprecated and no longer maintained. Please use Apache::Reload instead (mp1 version on CPAN, mp2 version is a par

Problems with Apache::Reload (Was "Exported methods don't reload under Apache::StatINC")

2004-03-31 Thread Garth Webb
On Tue, 2004-03-30 at 19:28, Stas Bekman wrote: > Garth Webb wrote: > > I have a question about Apache::StatINC and reloading exported methods. > > Garth, Apache::StatINC is deprecated and no longer maintained. Please use > Apache::Reload instead (mp1 version on CPAN, mp2 version is a part of th

Re: [mp2] custom_response() in HTTP Request Output Filters?

2004-03-31 Thread Geoffrey Young
>>> Under certain conditions I want to add >>> additional >>> html to the server's error response > > But John is talking about converting a non-error response into an error. > Does it still apply? I don't know. it was the above quoted part that caught my attention, but it may not solve all of

Re: [mp2] custom_response() in HTTP Request Output Filters?

2004-03-31 Thread Stas Bekman
Geoffrey Young wrote: John D.Lima wrote: I have a proxy running with mod_proxy with a request output filter for examining the (remote) server response. Under certain conditions I want to add additional html to the server's error response, or replace a (possibly non-error) response with a dynamic

Re: [mp2] custom_response() in HTTP Request Output Filters?

2004-03-31 Thread Geoffrey Young
John D.Lima wrote: > I have a proxy running with mod_proxy with a request output filter for > examining > the (remote) server response. Under certain conditions I want to add > additional > html to the server's error response, or replace a (possibly non-error) > response > with a dynamic error d

Re: [mp2] custom_response() in HTTP Request Output Filters?

2004-03-31 Thread Stas Bekman
John D.Lima wrote: [...] I was rather hoping to avoid setting up the logic to examine bucket contents. Reading between the line [sic] I guess the answer is no, $r->custom_response doesn't work in the request output filter? Does the connection filter give me access to the $r->headers_out() as wel

Re: [mp2] custom_response() in HTTP Request Output Filters?

2004-03-31 Thread John D . Lima
On Mar 31, 2004, at 10:04 AM, Stas Bekman wrote: John D.Lima wrote: I have a proxy running with mod_proxy with a request output filter for examining the (remote) server response. Under certain conditions I want to add additional html to the server's error response, or replace a (possibly non-e

Re: [mp2] mod_perl (current cvs) and multiple Apache2s make problems

2004-03-31 Thread Geoffrey Young
>>APACHE_TEST_HTTPD=/PATH/TO/HTTPD make test >> >>or >> >>t/TEST -httpd=/path/to/httpd >> >>etc. please refer to the documentation for more options. > > > OK, I used option 1 above, however, it seems that the test suite > _insists_ on testing auth using mod_auth_digest.c (which is not ready > ye

Re: [mp2] mod_perl (current cvs) and multiple Apache2s make problems

2004-03-31 Thread Beau E. Cox
On Tuesday 30 March 2004 08:24 pm, Stas Bekman wrote: > Beau E. Cox wrote: > >> > How do I control how t/config/httpd.conf is setup? > >> > >>What seems to be the problem? > > > > Well, the t/config/httpd.conf generated somewhere in the mod_perl build - > > I couldn't find it on first glance - is b

Re: [mp2] custom_response() in HTTP Request Output Filters?

2004-03-31 Thread Stas Bekman
John D.Lima wrote: I have a proxy running with mod_proxy with a request output filter for examining the (remote) server response. Under certain conditions I want to add additional html to the server's error response, or replace a (possibly non-error) response with a dynamic error document of my

[mp2] custom_response() in HTTP Request Output Filters?

2004-03-31 Thread John D . Lima
I have a proxy running with mod_proxy with a request output filter for examining the (remote) server response. Under certain conditions I want to add additional html to the server's error response, or replace a (possibly non-error) response with a dynamic error document of my construction, chan

Re: [mp2] CPAN.pm fails on version eval'ing.

2004-03-31 Thread Ruslan U. Zakirov
Stas Bekman wrote: Ruslan U. Zakirov wrote: Hello. I have latest stable mp1 release installed and mp2 from CVS. I've done installation twice and each time after mp2 installation CPAN shell on 'r' command give me next error: Could not eval ' package ExtUtils::MakeMaker::_version;

Re: [mp2] CPAN.pm fails on version eval'ing.

2004-03-31 Thread Stas Bekman
Ruslan U. Zakirov wrote: Hello. I have latest stable mp1 release installed and mp2 from CVS. I've done installation twice and each time after mp2 installation CPAN shell on 'r' command give me next error: Could not eval ' package ExtUtils::MakeMaker::_version; no stric

[mp2] CPAN.pm fails on version eval'ing.

2004-03-31 Thread Ruslan U. Zakirov
Hello. I have latest stable mp1 release installed and mp2 from CVS. I've done installation twice and each time after mp2 installation CPAN shell on 'r' command give me next error: Could not eval ' package ExtUtils::MakeMaker::_version; no strict; local $mod_pe