You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Zeqing Xia <fr...@healtheon.com> on 2000/04/10 08:15:01 UTC
Apache::URI port() problem
Hello,
It seems the method unparse() of Apache::URI does not take the port
value into the result string. For example, I have:
my $uri = Apache::URI->parse($r, $r->uri);
$uri->scheme('http');
$uri->hostname($r->get_server_name);
$uri->port(8080);
$uri->query(scalar $r->args);
If I call $uri->unparse(), the string returned does not have port 8080
in it. Can anyone shed some light? Thanks.
Fred Xia