Different App_Offline per tenant?

Topics: General, Writing modules
Developer
May 26, 2012 at 11:53 AM

Is there a way to use a different App_Offline page per Orchard tenant? Because in a multi-tenant installation one brings all tenants (that could be pretty different sites) down with the very same App_Offline, but it would be better to show one customized to each tenant (e.g. in different languages). I haven't find any standard way to achieve this.

Maybe one not exactly perfect, but working solution would be to change the App_Offline's shown content based on the domain with javascript...

Thanks in advance for any help.

Coordinator
May 27, 2012 at 5:36 AM

Can't you suspend the tenant?

Developer
May 27, 2012 at 10:33 AM

Not really, since why I need to take the Orchard installation offline is because I'd like to install updates.

Coordinator
May 27, 2012 at 11:05 PM

So you want all of them to be offline. So yes, vary by domain then.

Developer
May 28, 2012 at 1:19 PM

Thanks!