[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quick Question


On Wed, 30 May 2007 22:02:11 -0700 (PDT) Alexander Burrows <suppressed> wrote:

> Ok I'm building a site that will have multiple domains pointing at it and
> will pull a different template based on the domain. The problem I'm having
> is I can't seem to remember for the life of me how to get $r->uri() to
> return the domain. I'm pushing my request objects to be Apache::Request
> objects. Any input would be great as Google seems to be getting worse and
> worse for finding this kind of information.

Try the methods 'hostinfo' or 'hostname' from APR::URI.

 - Vegard -


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.