Re: dir_config at startup: I know what doesn't work, so what does?
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 for your code to work, which it should, works just fine for me.
Re: dir_config at startup: I know what doesn't work, so what does?
"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 $MyConfig::DBI_DSN = 'foobar'; /Perl - Perrin