On Mon, 22 Jan 2001, Christopher L. Everett wrote:
variable at server startup, using my startup.pl:
...
$config{DBI_DSN} = Apache-server-dir_config('DBI_DSN');
...
PerlSetVar DBI_DSN "DBI:mysql:exchange_db"
is your PerlSetVar before or after PerlRequire for startup.pl?
it must come before
All:
I want to specify things like MySQL login info, names of tables
containing
user login information. I'd like to do it by putting it all into a
class
variable at server startup, using my startup.pl:
my $Account_Interface = $Exchange::MyAccount-init;
Then inside Exchange::MyAccount::init,
"Christopher L. Everett" wrote:
So what I'd like to know is: is there any way of picking up
configuration
info from the httpd-perl.conf at server startup?
If you don't need to have different configurations for each virtual host
or directory, you could just use globals.
Perl