[Catalyst] deployment with 3-tiered server setup: How to handle
config?
Matt S Trout
dbix-class at trout.me.uk
Tue Apr 21 11:56:34 GMT 2009
On Tue, Apr 21, 2009 at 09:33:04AM +0100, Ben Vinnerd wrote:
> I have a file /etc/httpd/host.conf, which contains the line:
> PerlSetEnv CATALYST_CONFIG_LOCAL_SUFFIX live/dev/whatever
That should really be MYAPP_CONFIG_LOCAL_SUFFIX unless you really intended
to affect all Catalyst application.
But yes, this is the correct approach - see Catalyst::Plugin::ConfigLoader
docs for more information.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/
More information about the Catalyst
mailing list