Multiple Apache Files for Multiple CFML Engines
coldfusionI frequently have to switch between two development environments. One is an Adobe CF environment, and another is a Railo environment. Both need unique apache httdp.conf, so i wrote two batch files to take care of this. Then I just run them from within eclipse, and restart apache!
Here are the files:
switch_cf.bat
:: Switch to coldfusion
If exist cf_httpd.conf (
rename httpd.conf r_httpd.conf;
rename cf_httpd.conf httpd.conf;
)
switch_railo.bat
:: Switch to railo
If exist r_httpd.conf (
rename httpd.conf cf_httpd.conf;
rename r_httpd.conf httpd.conf;
)
Pretty simple!




Loading....