Installation and deployment
Version 7.x > Installation and deployment > Web farm configuration question View modes: 
User avatar
Member
Member
matt.barry-stockhouse - 4/30/2013 12:32:25 PM
   
Web farm configuration question
I'm configuring web farm settings in Kentico 7 and there appears to be two ways to do it:

1) Through the appSettings in the web.config file (e.g. CMSWebFarmEnabled)
2) Through the Version and Synchronization settings in the Site Administrator.

Which one takes precedence? E.g. if CMSWebFarmEnabled is 'false' in the web.config but it is turned on in the Site Administrator, what happens?

Thanks!

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 4/30/2013 11:15:29 PM
   
RE:Web farm configuration question
It's been my experience that the UI takes precedence over the web.config settings if both exist. With that being said, I don't see anything on the that states otherwise in the dev guide but I could be missing it: http://devnet.kentico.com/docs/devguide/index.html?web_config_parameters.htm

User avatar
Member
Member
matt.barry-stockhouse - 5/1/2013 10:37:17 AM
   
RE:Web farm configuration question
Thanks! Pretty strange that there are two ways to do the same thing. It would be nice if the UI simply read the values from the web.config. I like having them in there because I can do web.config transformations for each target environment.