Within release 1.4 configuration sections are used, and there are some problems for me.
I've used custom UrlParser and DynamicSitesProvider, which I've noticed before
So now it's very hard to replace standart UrlParser and SitesProvider classes, because following construction doesn't work anymore:
<castle><components><component id="n2.sitesProvider" service="N2.Web.ISitesProvider, N2" type="MyDynamicSitesProvider, N2.MyExtension"
/><component id="n2.urlParser.multipleSite" service="N2.Web.IUrlParser, N2" type="MyMultipleHostsUrlParser, N2.MyExtension" /></components></castle>
Only way i did found to replace them is to create my own IEngine implementation, for example inherited from ContentEngine, may be there is a simpler one?
There is a bug in ContentEngine.DetermineResource
method, at line 134, call config.GetSection("castle") always returns DefaultConfigSection, and never CastleSectionHandler (i don't understand why). So castle configuration is always ignored.
Also there is inconsistence in documentation on web site http://www.n2cms.com/Documentation/Advanced-topics/Multiple-sites.aspx
Stated Web.config changes are not working now.