I have a file /etc/httpd/host.conf, which contains the line:
PerlSetEnv CATALYST_CONFIG_LOCAL_SUFFIX live/dev/whatever

This host.conf file is different on each host, and gets included from the main httpd.conf. ConfigLoader picks this up, and it works for me - only 1 file to change on each host.

Ben


Jens Schwarz wrote:
Hi,

I am planing to have a 3-tiered catalyst setup: one development server, one 
test server and one production server. Each of those has of course different 
setups (mysql-users, hostnames, apache configs, etc). How can I create a 
catalyst application that can cope with these different settings without having 
to manually alter the settings on each system? (My app is under subversion 
control.). Is there a 'best practice'?

Thanks

Jens

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to