[mp2] reading POST body in PerlAccessHandler more then once

2006-06-05 Thread Srebrenko Sehic
(I've sent this previously but it didn't get thru somehow; sorry for the re-post) I've defined a PerlAccessHandler which needs access to POST body. I've implemented a sub read_post {} which uses bucket brigades API to read the body (taken from mod_perl2 docs) and returns the data. However, the

reading POST body in PerlAccessHandler more then once

2006-06-05 Thread Srebrenko Sehic
I've defined a PerlAccessHandler which needs access to POST body. I've implemented a sub read_post {} which uses bucket brigades API to read the body (taken from mod_perl2 docs) and returns the data. However, the POST body is gone after I read it. Is there any way to read the POST body and pass

Re: regular expressions

2006-06-05 Thread Charles Bueche
Hi, http://www.oreilly.com/catalog/regex2/index.html I have the 1st edition, and can recommend it. You will need a bunch of time to do everything possible with regexes after reading that book. Charles On dim, 2006-06-04 at 17:18 +0300, Malka Cymbalista wrote: Can anyone recommend a good book

Re: [mp2] reading POST body in PerlAccessHandler more then once

2006-06-05 Thread Philip M. Gollucci
Srebrenko Sehic wrote: (I've sent this previously but it didn't get thru somehow; sorry for the re-post) I've defined a PerlAccessHandler which needs access to POST body. I've implemented a sub read_post {} which uses bucket brigades API to read the body (taken from mod_perl2 docs) and returns

Re: [mp2] reading POST body in PerlAccessHandler more then once

2006-06-05 Thread Srebrenko Sehic
On 6/5/06, Philip M. Gollucci [EMAIL PROTECTED] wrote: I've defined a PerlAccessHandler which needs access to POST body. I've implemented a sub read_post {} which uses bucket brigades API to read the body (taken from mod_perl2 docs) and returns the data. However, the POST body is gone after

RE: [mp2] 'Can't Load...' PerlRequire error for Apache2.2

2006-06-05 Thread Simon Wray
Thanks for the response Randy. I did indeed install via the PPM package you note ( http://perl.apache.org/docs/2.0/os/win32/install.html#PPM_Packages) I have tried to execute this again in case it did end in error. However, after asking for the initial Apache install location and then retrieving

Re: [mp2] reading POST body in PerlAccessHandler more then once

2006-06-05 Thread Philip M. Gollucci
Srebrenko Sehic wrote: On 6/5/06, Philip M. Gollucci [EMAIL PROTECTED] wrote: I've defined a PerlAccessHandler which needs access to POST body. I've implemented a sub read_post {} which uses bucket brigades API to read the body (taken from mod_perl2 docs) and returns the data. However, the

Re: [mp2] reading POST body in PerlAccessHandler more then once

2006-06-05 Thread Srebrenko Sehic
I've reimplemented read_post_body as specified below and the problem *still* persist. I can only read POST body once. I've looked at libapreq2 code and they implement apreq_brigade_copy which (it seems) takes a copy of the bucket brigade and passes the original on along. Can something similar be

RE: [mp2] 'Can't Load...' PerlRequire error for Apache2.2

2006-06-05 Thread Randy Kobes
On Mon, 5 Jun 2006, Simon Wray wrote: Thanks for the response Randy. I did indeed install via the PPM package you note ( http://perl.apache.org/docs/2.0/os/win32/install.html#PPM_Packages) I have tried to execute this again in case it did end in error. However, after asking for the initial

RE: [mp2] 'Can't Load...' PerlRequire error for Apache2.2

2006-06-05 Thread Simon Wray
When trying to use the ppm shell to remove mod_perl-2.2 I am told that it is not installed. After that I have tried the new script you indicate. This again retrieves the files and performs a checksum and then goes on to a second set of commands. The DOS window appears to quickly flash a message

RE: [mp2] 'Can't Load...' PerlRequire error for Apache2.2

2006-06-05 Thread Randy Kobes
On Mon, 5 Jun 2006, Simon Wray wrote: When trying to use the ppm shell to remove mod_perl-2.2 I am told that it is not installed. After that I have tried the new script you indicate. This again retrieves the files and performs a checksum and then goes on to a second set of commands. The DOS

Re: mod_perl make test failed tests

2006-06-05 Thread Lionel MARTIN
Hi all, This post is not related to the main topic, but Philip, you said: I think DBI seems to be making progress on CLONE() ing $dbh handles, at least from the test results I got/saw over on dbi-dev (at) perl (dot) org for the 1.51-RC1 just posted. Its docs still say not to use DBI with

Re: mod_perl make test failed tests

2006-06-05 Thread Philip M. Gollucci
Lionel MARTIN wrote: I saw that in DBI docs, but I just thought this piece of info was a bit dated. But, now, you're saying the same. Does this mean that you would not use any Win32 platform for production, as Win32 Apache MPMs are threaded, and Win32 Perl distributions compiled with ithreads

Re: [mp2] reading POST body in PerlAccessHandler more then once

2006-06-05 Thread Philip M. Gollucci
Srebrenko Sehic wrote: I've reimplemented read_post_body as specified below and the problem *still* persist. I can only read POST body once. I've looked at libapreq2 code and they implement apreq_brigade_copy which (it seems) takes a copy of the bucket brigade and passes the original on along.

Re: mod_perl make test failed tests

2006-06-05 Thread Lionel MARTIN
To be honest, I'm running Apache, mod_perl and DBI under Win32 (+Mason) and I can't complain about it. I'd like to test and compare with LAMP to see what's the best (in term of speed and memory managament), but what you told me made me jump, thinking Am I doing a mistake when targetting to

Re: mod_perl make test failed tests

2006-06-05 Thread Philip M. Gollucci
Lionel MARTIN wrote: To be honest, I'm running Apache, mod_perl and DBI under Win32 (+Mason) and I can't complain about it. I'd like to test and compare with LAMP to see what's the best (in term of speed and memory managament), but what you told me made me jump, thinking Am I doing a mistake

Re: mod_perl make test failed tests

2006-06-05 Thread Tyler MacDonald
Lionel MARTIN [EMAIL PROTECTED] wrote: To be honest, I'm running Apache, mod_perl and DBI under Win32 (+Mason) and I can't complain about it. I'd like to test and compare with LAMP to see what's the best (in term of speed and memory managament), but what you told me made me jump, thinking

Slightly OT: mp2 oriented Captcha Module -- anyone interested ?

2006-06-05 Thread Jonathan Vanasco
i wrote a captcha system in python using the turbogears framework and the python imaging library it basically just creates an image/validation scheme based on a few variables that is passed into the object - site secret , user seed , expiry time built into a key generator it's also with a

Re: mod_perl make test failed tests

2006-06-05 Thread Randy Kobes
On Mon, 5 Jun 2006, Tyler MacDonald wrote: Lionel MARTIN [EMAIL PROTECTED] wrote: To be honest, I'm running Apache, mod_perl and DBI under Win32 (+Mason) and I can't complain about it. I'd like to test and compare with LAMP to see what's the best (in term of speed and memory managament), but