I was wondering, is it possible to have a DefaultPageController per site in a EPiServer multi-site environment.We have multiple sites running in one EPiServer instance.
Thanks in advance!
One way is to hook up an eventhandler to TemplateResolver.TemplateResolving (or TemplateResolved) and there set which template to use. See http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=79313
Johan, wouldn't having a DisplayChannel per site or somehow programmatically register DisplayChannels at startup be a little more kosher?
Yes that sounds like a great idea!
The IsActive implementation could then use SiteDefintion.Current to distinguish if it is active or not.