This project is read-only.

Different App_Offline per tenant?

Topics: General, Writing modules
May 26, 2012 at 12:53 PM

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.

May 27, 2012 at 6:36 AM

Can't you suspend the tenant?

May 27, 2012 at 11:33 AM

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

May 28, 2012 at 12:05 AM

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

May 28, 2012 at 2:19 PM