On Thu, 1 Mar 2001, Chris Lewis wrote:
> Does anybody know how to alter the destination of a CONNECT transaction
> (in this case "secure proxy" request) in mod_perl?
> $r->uri("newplace:newport") in a Trans handler doesn't seem to do it.
mod_proxy uses the parsed_uri, try this:
use Apache::URI ();
$r->parsed_uri->hostname('newplace');
$r->parsed_uri->port('newport');
$r->uri('newplace:newport');
- CONNECT proxy rewrite Chris Lewis
- Doug MacEachern
