On Wed, 30 May 2007 22:02:11 -0700 (PDT) Alexander Burrows <[EMAIL PROTECTED]> 
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 -

Reply via email to