Re: persistent database connection - Apache::DBI with mod_perl

2008-07-16 Thread Chris Zhuang
Hi adam,   I got that mod_perl works on my server.   But how to setup Komodo 3.1 to debug mod_perl?   It seems like Komodo can only debug mod_cgi.   My httpd.conf setting:     use lib qw("C:/Program Files/ActiveState Komodo 3.1/dbgp/perllib");   $ENV{PERLDB_OPTS} = "RemotePort=127.0.0.1:1417 LogFi

Re: whence $r->send_http_header ?

2008-07-16 Thread Ryan Gies
> > Consider this fragment: > > > > $r->content_type("image/$type"); > > $r->send_http_header; > > > > $m->print($img); > > > > The method send_http_header seems to no longer exist. What should > > I be using instead? For now I just commented it out. > > # perl -MModPerl::MethodLookup -e p

mod_proxy_html (reverse proxy) functionality for Apache 1

2008-07-16 Thread Jim Brandt
I need to implement the reverse proxy link-fixing behavior provided in Apache 2 by mod_proxy_html: http://apache.webthing.com/mod_proxy_html/ but I need it in Apache 1. Some digging turned up Apache::ReverseProxy, which appears to have a nice spot in the code to access the response body befor

Re: persistent database connection - Apache::DBI with mod_perl

2008-07-16 Thread adam . prime
Quoting Chris Zhuang <[EMAIL PROTECTED]>: Hi, However, when I run an CGI script on the IE 6, it cannot find $ENV{MOD_PERL} and start new DBI connection. foo.cgi #!c:/perl/bin/perl.exe -d use DBI; use CGI qw(:standard); my $dbh = DBI->connect("dbi:Oracle:host=xx