Re: Quick Question

2007-05-31 Thread Clinton Gormley
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

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 Jeff Nokes
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);

Re: Quick Question

2007-05-31 Thread Alexander Burrows
ri() 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'

Re: Quick Question

2007-05-30 Thread Vegard Vesterheim
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

Re: Quick Question

2007-05-30 Thread Alexander Burrows
urn 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. >> >> -Alexander > > -- View this message in context: http://www.nabble.com/Quick-Question-tf3844554.html#a10887762 Sent from the mod_perl - General mailing list archive at Nabble.com.

Re: Quick Question

2007-05-30 Thread Arshavir Grigorian
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

Quick Question

2007-05-30 Thread Alexander Burrows
s 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. -Alexander -- View this message in context: http://www.nabble.com/Quick-Question-tf3844554.html#a10887468 Sent from the mod_perl - General mailing list archive at Nabble.com.

Re: PerlRun and Apacje::DB - quick question

2004-04-05 Thread Mike P. Mikhailov
Hello Tom Gazzini, Tuesday, April 6, 2004, 7:05:45 AM, you wrote: TG> I #8217;ve managed to modify a CGI shopping cart application TG> so that it successfully works under Apache::PerlRun. TG> Now I want to further improve the performance by using TG> Apache::DB. The CGI script already uses DBI to

PerlRun and Apacje::DB - quick question

2004-04-05 Thread Tom Gazzini
I’ve managed to modify a CGI shopping cart application so that it successfully works under Apache::PerlRun. Now I want to further improve the performance by using Apache::DB. The CGI script already uses DBI to access MySQL. Do I need to do anything special to get the CGI script to use Apach