Calling mod_proxy from a perl script

Deliens Christophe <[email protected]> Fri, 21 Mar 2003 18:34:12 +0100
Newsgroups gmane.comp.apache.mod-proxy
Message-ID <82A2EB37E8A6D6118AA100065B3FA718100F2C@DAD-NT8>
Hi,
 
I have a perl script which needs to "use" mod_proxy under Apache 2.
 
What I have right now is :
 
   $r->proxyreq(1);
   $r->uri($url);
   $r->filename("proxy:$url");
   $r->handler('proxy-server');
   return Apache::OK;

But it doesn't seem to call the mod_proxy after that... 
 
Any idea why it doesn't? 
 
Thx!
Chris