Ok maybe I was not explaining myself right. I want the equivalent to: my $q = new CGI; my $uri = $q->uri(-full => 1);
This way I know what the requested domain is. -Alexander Vegard Vesterheim wrote: > > 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 - > > > -- View this message in context: http://www.nabble.com/Quick-Question-tf3844554.html#a10888457 Sent from the mod_perl - General mailing list archive at Nabble.com.