On Thu, 2007-05-31 at 00:19 -0700, Alexander Burrows wrote:
> That is perfect. exactly what I needed. Thank you very much =)
>
For future reference, look at the docs:
http://perl.apache.org/docs/2.0/index.html
oming domain, and $r->hostname
> gets me the FQDN. I'm on apache 1.3.X and mod_perl 1.29.
>
> - Jeff
>
>
> - Original Message
> From: Alexander Burrows <[EMAIL PROTECTED]>
> To: modperl@perl.apache.org
> Sent: Wednesday, May 30, 2007 11:59:52 PM
&g
inal Message
From: Alexander Burrows <[EMAIL PROTECTED]>
To: modperl@perl.apache.org
Sent: Wednesday, May 30, 2007 11:59:52 PM
Subject: Re: Quick Question
Ok maybe I was not explaining myself right. I want the equivalent to:
my $q = new CGI;
my $uri = $q->uri(-full => 1);
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:
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 ge
That seems to just give me the ServerName from the conf file for Apache. I
need the doamin the user requested.
grigora wrote:
>
> Try
>
> $r->get_server_name();
>
> Good luck.
>
>
>
> On 5/30/07, Alexander Burrows <[EMAIL PROTECTED]> wrote:
>>
>>
>> Ok I'm building a site that will have mu
Try
$r->get_server_name();
Good luck.
On 5/30/07, 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