Re: dir_config at startup: I know what doesn't work, so what does?

2001-01-24 Thread Doug MacEachern
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 bef

Re: dir_config at startup: I know what doesn't work, so what does?

2001-01-21 Thread Perrin Harkins
"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. $MyConfig::DBI_DSN