Re: DBI::Gofer howto?
- From: Tim.Bunce@xxxxxxxxx (Tim Bunce)
- Date: Mon, 28 Jul 2008 16:37:24 +0100
On Mon, Jul 28, 2008 at 07:11:04AM -0500, Brian Millett wrote:
I've looked at the DBI::Gofer::Transport::mod_perl to setup a connection
pooling server, but to be honest, I just can not grok it. How is it setup?
The docs could certainly use some expansion to 'connect the dots'.
So my question is has anyone set it up?
Er, yes, me! :)
How, or what are the
configuration files. In the cpan docs, it has
http://search.cpan.org/~timb/GoferTransport-http-1.015/lib/DBI/Gofer/Transport/mod_perl.pm
add_configurations
DBI::Gofer::Transport::mod_perl->add_configurations( \%hash_of_hashes );
Takes a reference to a hash containing gofer configuration names and their
corresponding configuration details.
What configurations?? The reference is vague.
These: http://search.cpan.org/~timb/DBI/lib/DBI/Gofer/Execute.pm#CONFIGURATION
For simple cases you don't need any configuration.
Any pointers on how to setup a simple stateless proxy with DBI::Gofer::mod_perl would be nice.
The docs say:
---snip---
The most simple configuration looks like:
<Location /gofer>
SetHandler perl-script
PerlHandler DBI::Gofer::Transport::mod_perl
</Location>
---snip---
did you try that?
Tim.
.
- Follow-Ups:
- Re: DBI::Gofer howto?
- From: Brian Millett
- Re: DBI::Gofer howto?
- References:
- DBI::Gofer howto?
- From: Brian Millett
- DBI::Gofer howto?
- Prev by Date: Perl+DBI question [C1]
- Next by Date: Re: DBI::Gofer howto?
- Previous by thread: DBI::Gofer howto?
- Next by thread: Re: DBI::Gofer howto?
- Index(es):
Relevant Pages
|