mod_perl question

Carolyn Hicks carolyn at bannoy.net
Mon Feb 9 18:46:41 CST 2004


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?

not with a single method, but you can put it together from its various
components:

my $url = 'http://'.$r->hostname.$r->uri;

-carolyn


--
You have to consider that we're only made out of dust. That's admittedly
not much to go on and we shouldn't forget that. But even considering, I
mean it's a sort of bad beginning, we're not doing too bad.
	- Philip K. Dick




More information about the Melbourne-pm mailing list