
ssehic at gmail
Dec 22, 2005, 11:50 AM
Post #2 of 2
(794 views)
Permalink
|
Try $r->proxyreq(2) and it will work. On 12/22/05, Arnaud Desmons <arnaud.desmons [at] free> wrote: > Hi, > > Is this still supposed to work in TransHandler with Apache 2.2 ? > > sub handler { > my $r = shift; > > my $uri = $r->uri; > $r->filename("proxy:http://test:4949".$uri); > $r->handler('proxy-server'); > $r->proxyreq(1); > return Apache2::Const::OK; > } > > I get : > [Thu Dec 22 15:54:40 2005] [error] [client 127.0.0.1] File does not > exist: proxy:http://test:4949/ > > mod_proxy is compiled in and I use mod_perl 2.0.2. > > If I replace return OK with return DONE I get nothing in the error log > but a blank page. > > Thanks. > > -- > Arnaud >
|