Global configuration

2002-03-19 Thread Ryan Thompson
Hi all, I did a brief search of the archives, and the web, but found few ideas that address this issue... which seems odd, because this is a very common problem with typical mod_perl applications. What I have is a large distributed mod_perl application, with many packages strewn throughout a

Re: Global configuration

2002-03-19 Thread Stas Bekman
Ryan Thompson wrote: Hi all, I did a brief search of the archives, and the web, but found few ideas that address this issue... which seems odd, because this is a very common problem with typical mod_perl applications. What I have is a large distributed mod_perl application, with many

Re: Global configuration

2002-03-19 Thread Perrin Harkins
In addition to the techniques Stas mentioned (which I've always found to be more than adequate), there are tons of configuration modules on CPAN. AppConfig, Config::* modules, etc. Just make sure you choose one that can do layered configs, so that you can specify a configuration that's shared

RE: Accessing Global Configuration Directives

2001-02-12 Thread sterling
Apache-server will work - but it will always return the base server (so if you are using virtual hosts it will return a different server from $r-server). As long as you are not using virtual hosts you should be ok. sterling On Mon, 12 Feb 2001, Stathy Touloumis wrote: Kinda, need to access

Re: Accessing Global Configuration Directives

2001-02-10 Thread sterling
myChildInitHandler::init and then in the init handler do something like sub init { my $s = shift; my @values = $s-dir_config-get('foo'); } @values will be [bar, bar2] is that what you're lookin for? sterling On Fri, 9 Feb 2001, Stathy Touloumis wrote: Is it possible to access a global

Accessing Global Configuration Directives

2001-02-09 Thread Stathy Touloumis
Is it possible to access a global configuration directive without using the request object? Thanks,