mod_perl question
Stas Bekman
stas at stason.org
Tue Feb 10 22:02:07 CST 2004
Scott Penrose wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 10/02/2004, at 11:46 AM, Carolyn Hicks wrote:
>
>> On Tue, Feb 10, 2004 at 11:23:03AM +1100, CrashKat wrote:
>>
>>> Does anyone know how to get the entire url from an apache
>>> request object?
You are better off asking mp questions at the mp list.
> Have a look at something like Apache::URI
Yup, Apache::URI:
mp1:
http://perl.apache.org/docs/1.0/api/Apache/URI.html#Methods
use Apache::URI;
$url = $r->parsed_uri->unparse;
mp2:
http://perl.apache.org/docs/2.0/api/Apache/URI.html#C_construct_url_
use Apache::URI;
$url = $r->construct_url();
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas at stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
More information about the Melbourne-pm
mailing list