![]() |
Home / Documentation / 2.0 / API / | ![]() |
||
![]() ![]() ![]() |
||||
Apache::URI - Perl API for manipulating URIs | ||||
![]() ![]() |
|
||
construct_server
META: Autogenerated - needs to be reviewed/completed
Construct a full hostname
$hostname = $r->construct_server($hostname, $port, $p);
$r
(Apache::RequestRec
)
The current request
$hostname
(string)
The hostname of the server
$port
(string)
The port the server is running on
$p
(APR::Pool
)
The pool to allocate from
$hostname
(string)
The server's hostname
construct_url
META: Autogenerated - needs to be reviewed/completed
build a fully qualified URL from the uri and information in the request rec
$ret = $r->construct_url($uri, $p);
$r
(Apache::RequestRec
)
The current request
$uri
(string)
The path to the requested file
$p
(APR::Pool
)
The pool to allocate the URL from
$ret
(string)
A fully qualified URL
parse_uri
META: Autogenerated - needs to be reviewed/completed
parse_uri: break apart the uri
$r->parse_uri($uri);
$r
(Apache::RequestRec
)
The current request
$uri
(string)
The uri to break apart
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 1.1.
|
![]() |
![]() ![]() ![]() |