This worked great thanks. Was exactly what I was looking for.
-Alexander
James Smith-7 wrote:
>
>
>
> On Sun, 29 Jun 2008, Alexander Burrows wrote:
>
>>
>> Hello again all. Been a while since I've posted here but needed some help
>> on
>> a re
Hello again all. Been a while since I've posted here but needed some help on
a regex I was trying to write.
$line =~ tr/(\(|\)|<|>)/(\(|\)|\<|\>)/g;
This does not work at all in perl so I found so I replaced the tr with s and
the search part works as expected but the replace does not. I've been
ke it will work most of
the time =)
-Alexander
Alexander Burrows wrote:
>
> Alright I have been sitting on the side lines of learning anything new
> about mod_perl for too long. So I hope I've come to the right place to get
> brushed up on things. I'll be diving into mod_
us to me.
Also what is HMAC?
-Alexander
Perrin Harkins wrote:
>
> On Nov 26, 2007 6:12 PM, Alexander Burrows <[EMAIL PROTECTED]> wrote:
>> Alright I have been sitting on the side lines of learning anything new
>> about
>> mod_perl for too long. So I hope I've c
Alright I have been sitting on the side lines of learning anything new about
mod_perl for too long. So I hope I've come to the right place to get brushed
up on things. I'll be diving into mod_perl 2 and apache 2 soon but need to
get some things working in mod perl 1 first.
I'm working on a user b
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
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
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 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
object