[Question] How to config redirect error page ?

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
4/4/2014 2:50:15 AM
Gravatar
Total Posts 3

[Question] How to config redirect error page ?

Hi all !

i'm using mojo portal for my project. Mojo use the "Setup/Default.aspx" to show all status. But i want redirect the page to my custom page when i have an error for connect to portal database ( example: my server dump, wrong  connect string in config....). How do i config it ? Please support me ?

 

Thank all !

 

Sorry for my English !

4/4/2014 9:32:04 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: [Question] How to config redirect error page ?

Can you explain a little more about what you are trying to accomplish? The setup page is used for more than showing status--it's for installing and upgrading the site and supporting features. For security purposes, it should be used only by administrators, and if an error occurs it will be shown within that page so the viewing administrator can take care of the problem.

 

4/4/2014 8:58:21 PM
Gravatar
Total Posts 3

Re: [Question] How to config redirect error page ?

@Jamie E:

Current: if my database is disconnect -> "Setup/Default.aspx" page is show status and error....

But i want if my database has an issue -> i don't want show "Setup/Default.aspx" and redirect to my custome page !

4/7/2014 11:10:19 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: [Question] How to config redirect error page ?

The assumption is that the site database should always be available, since web sites are up and running 24 hours a day. So if the database is inaccessible, that's considered a critical error needing administrator intervention, so it redirects to the setup page. I don't know of any way to accomplish what you want to do without forking the code. We don't recommend forking, since that will make it very difficult to upgrade in the future.

4/9/2014 4:10:39 AM
Gravatar
Total Posts 3

Re: [Question] How to config redirect error page ?

Thank @Jamie !

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