Re: Some perl regex help

2008-06-30 Thread Alexander Burrows
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

Some perl regex help

2008-06-29 Thread Alexander Burrows
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

Re: Auth Question need some input

2007-11-30 Thread Alexander Burrows
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_

Re: Auth Question need some input

2007-11-27 Thread Alexander Burrows
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

Auth Question need some input

2007-11-26 Thread Alexander Burrows
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

Re: Quick Question

2007-05-31 Thread Alexander Burrows
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

Re: Quick Question

2007-05-31 Thread Alexander Burrows
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

Re: Quick Question

2007-05-30 Thread Alexander Burrows
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: >>

Quick Question

2007-05-30 Thread Alexander Burrows
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