--- httpd.conf
PerlModule Apache2::DBI
PerlRequire /var/www/bwc/cgi-bin/startup.pl
PerlOptions -SetupEnv
--- startup.pl
use 0.96 Apache2::DBI;
Apache2::DBI->connect_on_init(Shared::DB::DSN(),
Shared::DB::DB_User(),
Shared::DB::DB_Auth()
);
---
Changing -SetupEnv to +SetupEnv had no effect.
-Aaron
> -----Original Message-----
> From: Philip M. Gollucci [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 07, 2005 2:18 PM
> To: Aaron Scott
> Cc: [email protected]
> Subject: Re: Apache2::DBI
>
> Aaron Scott wrote:
>
> >Looks like I may have jumped the gun on this...
> >
> >When I call connect_on_init in startup.pl, $ENV{MOD_PERL_API_VERSION}
> >has not been set yet, so I get an error "Apache.pm was not loaded".
> >$ENV{MOD_PERL_API_VERSION} is set to '2' at the PerlResponseHandler
> >stage.
> >
> >I can't find any documentation telling at what point
> >$ENV{MOD_PERL_API_VERSION} is set. Is there something I should be
> >loading before calling connect_on_init or something else I am
missing?
> >
> >
> >
> >
> I'll look at this tonight after work.
>
> Can you post to the list or me your httpd.conf [relavent section(s)]
and
> startup.pl files.
>
>
>
> --
> END
> ---------------------------------------------------------
> What doesn't kill us, can only make us stronger.
> Nothing is impossible.
>
> Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
> Consultant / http://p6m7g8.net/Resume/resume.shtml
> Senior Developer / Liquidity Services, Inc.
> http://www.liquidityservicesinc.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]