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.
