Re: DBI::Gofer howto?



On Mon, Jul 28, 2008 at 10:57:23AM -0500, Brian Millett wrote:
Tim Bunce escribío:
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?

Yes I did and got an error:

[Sun Jul 27 18:21:46 2008] [error] [client 127.0.0.1] failed to resolve
handler `DBI::Gofer::Transport::mod_perl': Can't locate
DBI/Gofer/Transport/mod_perl.pm in @INC (@INC contains:

The DBI::Gofer::Transport::mod_perl does not seem to be installed.

[bpm]$ rpm -ql perl-DBI-1.601-4.fc9.i386 | grep Gofer

It'll work beter if you install DBI::Gofer::Transport::mod_perl
which you'll find in the same place as the docs you read:
http://search.cpan.org/~timb/GoferTransport-http/

Tim.
.