Re: response data

2004-12-16 Thread Vadim
On Wed, 2004-12-15 at 20:32 +, Vadim wrote: it looks like i missed something important... So how to get Response data in the PerlCleanupHandler script?! It's already sent by then. What are you trying to do? Do you want to filter it? I want to store this data in a cache. Which version

Re: mod_gzip + LogHandler

2004-12-16 Thread victor
Thanks slava, I will give that gzip handler a try. Tor. Slava Bizyayev wrote: Hi Victor, On Wed, 2004-12-15 at 02:11, victor wrote: The functoin served me well until I start enabling mod_gzip for apache. It appears that with mod_gzip turned on, the Environment I have setup for some reason

Re: [ANNOUNCE] Practical mod_perl book is released under Creative Commons license

2004-12-16 Thread Arnaud Blancher
Stas Bekman wrote: Hi, The complete Practical mod_perl book [1] is now available online under the terms of the CreativeCommons [2] Attribution Share-Alike License [3]. great. is this release all ok with MP2 ? in the fisrt chapter, you talk about apache 1.3, so, for MP2, does i read only the

Re: [ANNOUNCE] Practical mod_perl book is released under Creative Commons license

2004-12-16 Thread Zhang Yining
Stas Bekman wrote: Hi, The complete Practical mod_perl book [1] is now available online under the terms of the CreativeCommons [2] Attribution Share-Alike License [3]. This is great! Attribution: The licensor permits others to copy, distribute, display, and perform the work. In return,

Re: [ANNOUNCE] Apache-ModSSL

2004-12-16 Thread Torsten Foertsch
On Wednesday 15 December 2004 18:29, Stas Bekman wrote: Should we link to this kind of extension modules from the Apache::Connection manpage? http://perl.apache.org/docs/2.0/api/Apache/Connection.html e.g. a new section 3rd party modules extensions? or will this become a maintenance hell if

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-16 Thread Nick ***
spe145.testdrive.hp.com perl t/REPORT Using /house/doink123/mp2_svn/blib 9404:/house/doink123/httpd-2.0.52/.libs/lt-httpd: /sbin/loader: Fatal Error: cannot map libperl.so -8-- Start Bug Report 8-- 1. Problem Description: [DESCRIBE THE PROBLEM HERE] 2.

Re: Apache::Test question

2004-12-16 Thread Torsten Foertsch
On Wednesday 15 December 2004 20:46, Stas Bekman wrote: Torsten Foertsch wrote: But how do I know it in the tests? Is there another way except of scanning conf/httpd.conf? You do: use Apache::Test; plan tests = 5, need_module 'ssl'; It's documented in the Apache::Test manpage and also

Re: Win32 hooks/hookrun.t failure

2004-12-16 Thread Stas Bekman
[Nick please try to preserve the threads, by posting followups as a reply to the existing thread. It's really hard to maintain context when this is broken. Thanks] #0 apr_cpystrn (dst=0xbfffde30 t#175;$@#192;\204/@\020, src=0x0, dst_size=3221220968) at apr_cpystrn.c:57 57 if

Re: Apache::Test question

2004-12-16 Thread Stas Bekman
Torsten Foertsch wrote: On Wednesday 15 December 2004 20:46, Stas Bekman wrote: Torsten Foertsch wrote: But how do I know it in the tests? Is there another way except of scanning conf/httpd.conf? You do: use Apache::Test; plan tests = 5, need_module 'ssl'; It's documented in the Apache::Test

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-16 Thread Stas Bekman
Nick *** wrote: spe145.testdrive.hp.com perl t/REPORT Using /house/doink123/mp2_svn/blib 9404:/house/doink123/httpd-2.0.52/.libs/lt-httpd: /sbin/loader: Fatal Error: cannot map libperl.so -8-- Start Bug Report 8-- Thanks. I've asked that for Philippe, who

Re: Win32 hooks/hookrun.t failure

2004-12-16 Thread Stas Bekman
Nick *** wrote: Are you running the latest dev svn? The latest svn is fine. I just removed the patch in order to test more this issue, and that's the coredump... Understood. I certainly don't have the time to look at fastcgi problems at the moment. If someone can that would be great. so we are

Re: Can't locate object method get_brigade via package Apache::Filter

2004-12-16 Thread Vadim
Vadim wrote: from error_log [Thu Dec 16 19:34:06 2004] [notice] Apache/2.0.52 (Unix) mod_ssl/2.0.52 OpenSSL/0.9.7d mod_perl/1.99_18 Perl/v5.8.4 configured -- resuming normal operations [Thu Dec 16 19:34:08 2004] [error] [client 127.0.0.1] Can't locate object method

Re: Win32 hooks/hookrun.t failure

2004-12-16 Thread Nick ***
: Stas Bekman [EMAIL PROTECTED] : Re: Win32 hooks/hookrun.t failure : Nick *** [EMAIL PROTECTED] : , 2004, 16 18:21:34 EET -- [Nick please try to preserve the threads, by posting followups as a reply to the existing thread. It's

Re: Win32 hooks/hookrun.t failure

2004-12-16 Thread Nick ***
error_log: END in modperl_extra.pl, pid=2037 [Thu Dec 16 11:06:47 2004] [notice] FastCGI: process manager initialized (pid 2045) [Thu Dec 16 11:06:47 2004] [notice] Apache/2.0.52 (Unix) world domination series/2.0 mod_fastcgi/2.4.2 mod_perl/1.99_19-dev Perl/v5.8.3 configured -- resuming normal

Re: [ANNOUNCE] Apache-ModSSL

2004-12-16 Thread Torsten Foertsch
On Thursday 16 December 2004 19:26, Geoffrey Young wrote: uh... http://search.cpan.org/~geoff/Apache-SSLLookup-2.00_02/ Sorry, I did a cpan search. Your module was not found. cpan i /SSL/ CPAN: Storable loaded ok Going to read /home/r2/.cpan/Metadata Database was generated on Thu, 16 Dec

Re: [ANNOUNCE] Apache-ModSSL

2004-12-16 Thread Randy Kobes
On Thu, 16 Dec 2004, Torsten Foertsch wrote: On Thursday 16 December 2004 19:26, Geoffrey Young wrote: uh... http://search.cpan.org/~geoff/Apache-SSLLookup-2.00_02/ Sorry, I did a cpan search. Your module was not found. cpan i /SSL/ [ ... ] cpan i /Apache::SSL/ No objects found of

Re: [ANNOUNCE] Apache-ModSSL

2004-12-16 Thread Geoffrey Young
Torsten Foertsch wrote: On Thursday 16 December 2004 19:26, Geoffrey Young wrote: uh... http://search.cpan.org/~geoff/Apache-SSLLookup-2.00_02/ Sorry, I did a cpan search. Your module was not found. probably because it's 2.00_02 - the underscore keeps a module from being indexed.

Re: Can't locate object method get_brigade via package Apache::Filter

2004-12-16 Thread Stas Bekman
Vadim wrote: Vadim wrote: from error_log [Thu Dec 16 19:34:06 2004] [notice] Apache/2.0.52 (Unix) mod_ssl/2.0.52 OpenSSL/0.9.7d mod_perl/1.99_18 Perl/v5.8.4 configured -- resuming normal operations [Thu Dec 16 19:34:08 2004] [error] [client 127.0.0.1] Can't locate object method

Re: Apache::Test question

2004-12-16 Thread William McKee
On Thu, Dec 16, 2004 at 11:28:42AM -0500, Stas Bekman wrote: Right, because as you've figured out t/conf/apache_test_config.pm is a cached version of the the test setup data. So you need to do a cleanup before reconfiguring things so that file gets updated. Note that you perform things A-T

Re: Apache::Test question

2004-12-16 Thread Stas Bekman
William McKee wrote: [...] When I want to use the SSL connection in a request test, I do the following: my $config = Apache::Test::config(); Apache::TestRequest::module('ssl'); my $hostport = Apache::TestRequest::hostport(); BTW, A-T 1.17 has a new shortcut which does all the above: $url =

Re: Apache::Test question

2004-12-16 Thread Geoffrey Young
Stas Bekman wrote: William McKee wrote: [...] When I want to use the SSL connection in a request test, I do the following: my $config = Apache::Test::config(); Apache::TestRequest::module('ssl'); my $hostport = Apache::TestRequest::hostport(); BTW, A-T 1.17 has a new

Re: Apache::Test question

2004-12-16 Thread Geoffrey Young
William McKee wrote: On Thu, Dec 16, 2004 at 11:28:42AM -0500, Stas Bekman wrote: Right, because as you've figured out t/conf/apache_test_config.pm is a cached version of the the test setup data. So you need to do a cleanup before reconfiguring things so that file gets updated. Note that

Re: Apache::Test question

2004-12-16 Thread Stas Bekman
Geoffrey Young wrote: I suppose this would not work for the automatically built response tests which use the default port. right, but you can't really run SSL tests with a manually coded client, can you? yes, you can. see the Live tests in Apache-SSLLookup. I'm not sure what do you mean, I've

Re: [ANNOUNCE] Practical mod_perl book is released under Creative Commons license

2004-12-16 Thread Stef1
Arnaud Blancher wrote: Stas Bekman wrote: Hi, The complete Practical mod_perl book [1] is now available online under the terms of the CreativeCommons [2] Attribution Share-Alike License [3]. great. is this release all ok with MP2 ? in the fisrt chapter, you talk about apache 1.3, so, for MP2,

Re: [ANNOUNCE] Practical mod_perl book is released under Creative Commons license

2004-12-16 Thread Stas Bekman
Stef1 wrote: It's a great book. I've bought it about a year ago. And it's really very nice of Stas and Eric Cholet to make it publicly available. But it's main focus is still on MP1. Only part V is about MP2. Thanks Stef. Stas, no complaints, I know you put tons of effort in modperl ! Only a

Re: [mp2] how to redirect POST data

2004-12-16 Thread Beberle
--- Joe Schaefer [EMAIL PROTECTED] wrote: Beberle [EMAIL PROTECTED] writes: Right, that's exactly the problem I'm trying to work around. Once I've read the POST data, is there some way to re-POST it? Not sure this is addressing your particular problem, but let me try to

Re: [mp2] how to redirect POST data

2004-12-16 Thread Joe Schaefer
Beberle [EMAIL PROTECTED] writes: Ok, I'm getting closer but still not there yet. I've added a filter like so: [...] I've been able to successfully capture the POST data without removing it from the chain. Problem is, it's too late. From what I've been able to gather from printing to

Re: mod_gzip + LogHandler

2004-12-16 Thread Slava Bizyayev
Hi Victor, On Wed, 2004-12-15 at 02:11, victor wrote: The functoin served me well until I start enabling mod_gzip for apache. It appears that with mod_gzip turned on, the Environment I have setup for some reason is no longer available. I have tried to switch to notes and ened with the

Re: Why MP2

2004-12-16 Thread colin_e
Thanks for the background Randy. I have seen ActiveState get a pretty major hammering in some quarters for their support of Perl , so it's interesting to get a more reaoned perspective. It's a real shame the mod_perl build can't be made hands-off, as it seems that would bring so many Apache::*

Re: [ANNOUNCE] Apache-ModSSL

2004-12-16 Thread Stas Bekman
Torsten Foertsch wrote: On Wednesday 15 December 2004 18:29, Stas Bekman wrote: Should we link to this kind of extension modules from the Apache::Connection manpage? http://perl.apache.org/docs/2.0/api/Apache/Connection.html e.g. a new section 3rd party modules extensions? or will this become a

Re: [ANNOUNCE] Practical mod_perl book is released under Creative Commons license

2004-12-16 Thread Stas Bekman
Zhang Yining wrote: The complete Practical mod_perl book [1] is now available online under the terms of the CreativeCommons [2] Attribution Share-Alike License [3]. This is great! :) Attribution: The licensor permits others to copy, distribute, display, and perform the work. In return,

Re: [ANNOUNCE] Practical mod_perl book is released under Creative Commons license

2004-12-16 Thread Stas Bekman
Arnaud Blancher wrote: Stas Bekman wrote: Hi, The complete Practical mod_perl book [1] is now available online under the terms of the CreativeCommons [2] Attribution Share-Alike License [3]. great. is this release all ok with MP2 ? in the fisrt chapter, you talk about apache 1.3, so, for MP2,

Can't locate object method get_brigade via package Apache::Filter

2004-12-16 Thread Vadim
from error_log [Thu Dec 16 19:34:06 2004] [notice] Apache/2.0.52 (Unix) mod_ssl/2.0.52 OpenSSL/0.9.7d mod_perl/1.99_18 Perl/v5.8.4 configured -- resuming normal operations [Thu Dec 16 19:34:08 2004] [error] [client 127.0.0.1] Can't locate object method get_brigade via package

[Fwd: Contributing to the Apache Software Foundation]

2004-12-16 Thread Stas Bekman
Please take a look (see below). Remember that ASF provides infrastructure for the mod_perl development, distribution and other things. And that requires money. So please consider donating. You may choose to instead or in addition to donate to the Perl Foundation, which also helps to mod_perl a

Re: Can't locate object method get_brigade via package Apache::Filter

2004-12-16 Thread Stas Bekman
Vadim wrote: from error_log [Thu Dec 16 19:34:06 2004] [notice] Apache/2.0.52 (Unix) mod_ssl/2.0.52 OpenSSL/0.9.7d mod_perl/1.99_18 Perl/v5.8.4 configured -- resuming normal operations [Thu Dec 16 19:34:08 2004] [error] [client 127.0.0.1] Can't locate object method get_brigade

Re: [ANNOUNCE] Apache-ModSSL

2004-12-16 Thread Geoffrey Young
I could think of a module interfacing mod_includes' ap_register_include_handler() for example to reenable !--#perl ... -- directives to be qualified for being linked. fyi that has been done already too http://search.cpan.org/~geoff/Apache-IncludeHook-2.00_02/ in general, it's a good idea

Re: response data

2004-12-16 Thread Perrin Harkins
On Thu, 2004-12-16 at 11:18 +, Vadim wrote: On Wed, 2004-12-15 at 20:32 +, Vadim wrote: it looks like i missed something important... So how to get Response data in the PerlCleanupHandler script?! It's already sent by then. What are you trying to do? Do you want to filter it?

Re: Apache::DBI 0.94 - connect_on_init broken?

2004-12-16 Thread Larry Leszczynski
Hi Joshua - On Tue, 14 Dec 2004, Joshua Hoblitt wrote: PerlModule DBI PerlModule Apache::DBI Try swapping these - Apache::DBI must be loaded before DBI gets loaded. When DBI loads, it checks to see if you're using Apache::DBI and does internal magic if that is the case. HTH, Larry

Re: [ANNOUNCE] Apache-ModSSL

2004-12-16 Thread Torsten Foertsch
On Thursday 16 December 2004 21:45, Geoffrey Young wrote: Torsten Foertsch wrote: ... Sorry, I did a cpan search. Your module was not found. probably because it's 2.00_02 - the underscore keeps a module from being indexed. ok, that explains it. ... anyway, the modules aren't identical -

Re: Apache::Test question

2004-12-16 Thread Geoffrey Young
right, but you can't really run SSL tests with a manually coded client, ^ can you? yes, you can. see the Live tests in Apache-SSLLookup. I'm not sure what do you mean, I've looked at

Re: Apache::Test question

2004-12-16 Thread Stas Bekman
Geoffrey Young wrote: right, but you can't really run SSL tests with a manually coded client, ^ can you? yes, you can. see the Live tests in Apache-SSLLookup. I'm not sure what do you mean, I've looked at