"Maintenance" page

This is a forum to suggest new features for mojoPortal. 

This thread is closed to new posts. You must sign in to post in the forums.
6/1/2010 2:35:35 PM
Gravatar
Total Posts 111
Matt Millican InternetMill

"Maintenance" page

Hi Joe,

Would it be possible to have a page that could be posted for a site if it were under maintenance or construction.  Maybe a site setting that makes the site "Unavailable" and then it redirects to a page that has some sort of message like "This site is currently unavailable for maintenance..."

Thanks,
Matt

6/1/2010 3:13:55 PM
Gravatar
Total Posts 550

Re: "Maintenance" page

Hi Matt,

You can make up a html page named App_Offline.htm and add it to root of you site.This is not a mojoportal feature, it is an ASP.NET feature.Please see this thread for answer of Joe.

Hope Helps

Asad

6/1/2010 3:26:28 PM
Gravatar
Total Posts 111
Matt Millican InternetMill

Re: "Maintenance" page

Asad,

Thanks for the reply.  However, I'm wondering if it's a global mojoPortal wide setting or if it's per site?

Thanks,
Matt

6/2/2010 10:01:06 AM
Gravatar
Total Posts 18439

Re: "Maintenance" page

Hi,

The app_offline.htm is a feature of ASP.NET as Asad mentioned, but I think it is useful to discuss this in terms of 3 scenarios.

The first scenario is taking the entire app offline and this is supported by the ASP.NET app_offline feature. This is useful when you want to restore a db backup or something of that nature, but it doesn't prove useful during upgrades of mojoPortal because it also disables the setup page since it takes the entire app offline.

So the second scenario would be to have a way to take the site content (all sites) basically offline but keep the setup page enabled. We don't currently have a solution for this, but I think it would be a good idea to have such.

The third scenario is when hosting multiple sites in a single installation, when we provision a new site, it would be nice to have a mechanism whereby the site content can be disabled unless signed in as an admin user. So we would need a way to keep the sign in functionality available even when the site is disabled for non admins. This is another scenario we don't currently have a solution for, but it would be nice to have.

I've made notes about the 2 scenarios we don't currently have support for and will try to come up with a solution for them when I have time.

Best,

Joe

6/2/2010 10:05:07 AM
Gravatar
Total Posts 111
Matt Millican InternetMill

Re: "Maintenance" page

Thanks, Joe!

It's nothing urgent at all, just something I thought would be nice to have, and I like both of your proposed scenarios.

You must sign in to post in the forums. This thread is closed to new posts.