Re: libapreq2 upload question

2004-12-20 Thread Randy Kobes
On Mon, 20 Dec 2004, Joe Schaefer wrote: > "eps com estem" <[EMAIL PROTECTED]> writes: > > > my $info = {}; > > $upload->slurp($info->{eii}); > > $info->{eii} contains nothing. > > > > This is the same that happened in $r->read function, that was fixed > > two seconds after :) > > Here's a patch f

Re: Logging at startup

2004-12-20 Thread Stas Bekman
Patrick LeBoutillier wrote: Hi all, I'm using the logging API ($s->notice("...")) in some code that is loaded at startup using PerlRequire. As mentionned in the docs on the Apache server cycle, my code is executed twice. The first time the code is executed, I see the log statements appear on STDERR

Re: Can Apache::TestMB suppress APXS warnings?

2004-12-20 Thread Stas Bekman
Joshua Hoblitt wrote: Hi Folks, I've been unable to figure out how to get Apache::TestMB to setup my build environment in such a way as to suppress APXS warnings during a test run. e.g. -- t/10_client_newAPXS (/usr/local/apache/bin/apxs) query for SBINDIR failed APXS (/u

Logging at startup

2004-12-20 Thread Patrick LeBoutillier
Hi all, I'm using the logging API ($s->notice("...")) in some code that is loaded at startup using PerlRequire. As mentionned in the docs on the Apache server cycle, my code is executed twice. The first time the code is executed, I see the log statements appear on STDERR when Apache is restarted

Can Apache::TestMB suppress APXS warnings?

2004-12-20 Thread Joshua Hoblitt
Hi Folks, I've been unable to figure out how to get Apache::TestMB to setup my build environment in such a way as to suppress APXS warnings during a test run. e.g. -- t/10_client_newAPXS (/usr/local/apache/bin/apxs) query for SBINDIR failed APXS (/usr/local/apache/bin/apxs

Re: libapreq2 upload question

2004-12-20 Thread Joe Schaefer
"eps com estem" <[EMAIL PROTECTED]> writes: > my $info = {}; > $upload->slurp($info->{eii}); > $info->{eii} contains nothing. > > This is the same that happened in $r->read function, that was fixed > two seconds after :) Here's a patch for $upload->slurp, see if it helps: Index: glue/perl/xsbui

Re: libapreq2 upload question

2004-12-20 Thread eps com estem
-- eps ++ gerard Could you check please if the slurp function doesn't allow to put the content into non-scalar values??? I'll explain better $upload->slurp(my $temp); $temp contents the data my $info = {}; $upload->slurp($info->{eii}); $info->{eii} contains nothing. This is the same that happe

Re: libapreq2 upload question

2004-12-20 Thread eps com estem
Hey I've found the problem, following your advices. So $upload('eps') works always. But $upload() only works when the file input is the first input of the . If text input is before file input, upload() catch nothing, but upload('eps') does the job. Hope this helps. -

Re: libapreq2 upload question

2004-12-20 Thread Joe Schaefer
Joe Schaefer <[EMAIL PROTECTED]> writes: > From this, it looks to me like libapreq is parsing the POST data correctly > (the gif filename showing up as the eps param value is a tell-tale sign that > the upload was parsed ok). So the now question is: why isn't $mm->upload() > detecting that body t

Re: libapreq2 upload question

2004-12-20 Thread Joe Schaefer
"eps com estem" <[EMAIL PROTECTED]> writes: [...] > > > > > > And this is the error.log > > Apache::Upload::Table=HASH(0x11ee1c4) 0 at > f:/tools/apache2/lib/perl/Blogum/Generic.pm > line 208. > Apache::Request::Table=HASH(0x1304a50) 2 at > f:/tools/apache2/lib/perl/Blogum/Generic.pm > line

Re: libapreq2 upload question

2004-12-20 Thread eps com estem
Randy > For ActivePerl builds 8xx (which mp2 requires on Win32), the > repository should be > http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58 > The :/PPMServer repository is for builds 6xx, which is why > you didn't find mod_perl 2. Ok, that should be corrected in http://aspn.act

Re: What's wrong with this system's configuration?

2004-12-20 Thread Stas Bekman
>> The admin asked me what command I use in order to get the name 'localhost.testdrive.hp.com'. How does MP2 get this? > >Something like the following: > >use Socket; >my $localhost_addr = pack('C4', 127, 0, 0, 1); >my $name = gethostbyaddr($localhost_addr, Socket::AF_INET()) || 'localhost'

Re: need bandwidth help to mirror the practical modperl book

2004-12-20 Thread Larry Leszczynski
> I've also released a bittorrent, (kindly hosted by prodigem, who hosts > creative commons torrents for free): > > http://www.torrentocracy.com/prodigem/download.php/stas/mod_perl.torrent > > please consider seeding and upload the link to bittorrent indexes (to the > remaining ones). Cool! Stas

Re: need bandwidth help to mirror the practical modperl book

2004-12-20 Thread Stas Bekman
Stas Bekman wrote: The demands for the pdf tarball (12.5MB) of our book is overwhelming and hogging the 3Mbps pipe, if you can donate some bandwidth to mirror the tarball please contact Eric (CC'ed) off-list. Thanks a lot! Eric thinks that 10MBps or higher is the best (so it doesn't hog your net

Re: compile problems

2004-12-20 Thread Matthew Berk
Found a solution worth writing about. I went through the perl configuration interactively, specifying the following non-defaults: - compile perl as shared - use gcc, not cc, as the compiler - provide -fPIC to the compiler After this, everything worked like a charm! On Dec 17, 2004, at 2:05 AM

Re: libapreq2 upload question

2004-12-20 Thread Joe Schaefer
"eps com estem" <[EMAIL PROTECTED]> writes: > A) > Switching the order makes no difference. Params catch 6 args and > uploads none. Results are the same with the last versions installed. Ok, happily that eliminates one possibility. Another possibility is that apreq's mfd parser is having a pro

need bandwidth help to mirror the practical modperl book

2004-12-20 Thread Stas Bekman
The demands for the pdf tarball (12.5MB) of our book is overwhelming and hogging the 3Mbps pipe, if you can donate some bandwidth to mirror the tarball please contact Eric (CC'ed) off-list. Thanks a lot! -- __ Stas Bekman

Re: libapreq2 upload question

2004-12-20 Thread Randy Kobes
On Mon, 20 Dec 2004, eps com estem wrote: > A) Switching the order makes no difference. Params catch 6 > args and uploads none. Results are the same with the last > versions installed. > > B) > ppm searching on repository theoryx5 is confusing. > I have configured the rep as > http://theoryx5.uwin

Re: response data

2004-12-20 Thread Slava Bizyayev
Hi Vadim, Sorry for misunderstanding your problem. I've been thinking that you are on Apache-1.3... I cannot help with Apache-2. Slava On Mon, 2004-12-20 at 08:01, Vadim wrote: > http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlCleanupHandler > [quote] > Using cleanup_register() act

Re: response data

2004-12-20 Thread Vadim
> Hi Vadim, > On Fri, 2004-12-17 at 06:09, Vadim wrote: > > The solution is to register the cleanup handler in the > > PerlResponseHandler script and to pass the data and $r object as the > > arguments: > > > > r->pool->cleanup_register(\&MyApache::MyProxy::handler, { r => $r, data > > => $data} );

Re: libapreq2 upload question

2004-12-20 Thread eps com estem
A) Switching the order makes no difference. Params catch 6 args and uploads none. Results are the same with the last versions installed. B) ppm searching on repository theoryx5 is confusing. I have configured the rep as http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer Searching throu