RE: Solutions Guide

2004-06-19 Thread Eric J. Hansen
Do you have a URL for your draft doc? (or was part of your question re: publishing this to CVS or perl.apache.org?) One idea might be to create a wiki for it to encourage quicker contribution/review. -Eric > -Original Message- > From: Eric Berg [mailto:[EMAIL PROTECTED] > Sent: Saturd

RE: [mp2] losing POST vars with PerlOutputFilterHandler+mod_proxy

2004-06-18 Thread Eric J. Hansen
utputFilterHandler+mod_proxy > > > Geoffrey Young <[EMAIL PROTECTED]> writes: > > > Eric J. Hansen wrote: > > > Thanks, Joe! I implemented your suggestion (1), and the > following > > > works nicely... (added to my request filter) > >

RE: [mp2] losing POST vars with PerlOutputFilterHandler+mod_proxy

2004-06-18 Thread Eric J. Hansen
the form variables. :) cheers Eric > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Joe Schaefer > Sent: Friday, June 18, 2004 12:25 AM > To: [EMAIL PROTECTED] > Subject: Re: [mp2] losing POST vars with > PerlOutputFilterHandler+mod_proxy >

[mp2] losing POST vars with PerlOutputFilterHandler+mod_proxy

2004-06-17 Thread Eric J. Hansen
I'm having a problem whereby I can't access POST CGI variables when using an output filter (PerlOutputFilterHandler) alongside mod_proxy. Parameters on the URL (GET) work just fine, its just the POST variables that are missing. My setup is that I'm using a mod_proxy reverse proxy to fetch some rem

passing data between connection and http filters

2004-05-27 Thread Eric J. Hansen
I have an application that uses mod_proxy (as a reverse proxy) to fetch content from a back-end server. My application needs to do some manipulation of both the request headers and the response body. Given that mod_proxy circumvents most of mod_perl's handler phases, I'm having to use filters to

RE: perl sections howto?

2004-01-20 Thread Eric J. Hansen
Along these lines, can one still use $PerlConfig and @PerlConfig to store Apache-style configuration directives? (from within .. blocks, or alternatively from within a PerlRequire'd file?) thanks Eric > -Original Message- > From: Philippe M. Chiasson [mailto:[EMAIL PROTECTED] > Sent:

[mp2] configure Apache with PerlRequire and external script (does $PerlConfig work in mp2?)

2004-01-18 Thread Eric J. Hansen
I'd like to dynamically configure Apache using an external Perl script. i.e., in httpd.conf: PerlRequire myhttpdconf.pl Since I'm using a database to define how I'd like to configure multiple virtual hosts on my server, my Perl script iterates through records to produce the n

RE: using pnotes to store/retrieve Class::DBI objects?

2003-12-20 Thread Eric J. Hansen
Hurrah! Its working now. Thank you! Eric > > When I try to retrieve this Class::DBI object from the Cleanup > > Handler, the pnotes values are totally gone. However, > regular scalers > > that I've put in 'notes' are still there. Perhaps pnotes has (by > > design) already been cleaned up

RE: using pnotes to store/retrieve Class::DBI objects?

2003-12-19 Thread Eric J. Hansen
After looking at this further, it turns out that Perrin's suggested code *does* work, but only in the PerlResponseHandler or earlier stages. And unfortunately, I mis-stated the original problem... which is that I am trying to retrieve that pnotes object (Class::DBI instance) in _PerlCleanupHandle

RE: using pnotes to store/retrieve Class::DBI objects?

2003-12-18 Thread Eric J. Hansen
at this must be the problem... any other ideas? thanks Eric > -Original Message- > From: Perrin Harkins [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 18, 2003 9:22 PM > To: Eric J. Hansen > Cc: [EMAIL PROTECTED] > Subject: Re: using pnotes to store/retrieve Class::DBI

using pnotes to store/retrieve Class::DBI objects?

2003-12-18 Thread Eric J. Hansen
I'm trying to use $r->pnotes to store a Class::DBI object in an early stage handler so it may be retrieved by a later stage handler. Specifically: in my PerlTransHandler: my $dbrecord = ClassDBI_Table1->retrieve ( 1 ); # ClassDBI_Table1 is of base Class::DBI::mysql $r->p