Apache2 + Coldfusion.  Need redirect when Coldfusion is down.

Posted on 2011-04-20
Medium Priority
Last Modified: 2012-05-11
I want a redirect (to a page i specify) when Coldfusion isn't running.  I know there has to be a way to do this with apache but I'm not 100% sure.  If this isn't possible I would like to find these default error pages and change them to what I want... but I don't know where they are located.

Here are the errors when u stop coldfusion:

Server Error

The server encountered an internal error and was unable to complete your request.
Could not connect to JRun Server.
There is no web application configured to service your request

I forgot to mention our entire directory is protected by application.cfm with a login system.  So maybe it would be easier to find where these pages are located and change them to what we need.  This is and will be the only website running on this server.

If I can provide any further information please let me know!
Question by:gr1z
  • 5

Author Comment

ID: 35434044
In the httpd.conf file edit the following line:

JRunConfig Errorurl url <optionally redirect to this URL on errors>

Found this... trying it now.

Author Comment

ID: 35434075
OK that doesn't seem to work.  With coldfusion stopped I now have this error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, system@domain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Author Comment

ID: 35434139
Ok so my question is now:

How do I edit the default Apache2 Internal Server Error page?

I can't do this: ErrorDocument 500 /error-docs/500.shtml.  I want it "server-wide".

Accepted Solution

gr1z earned 0 total points
ID: 35435005
Nevermind I got it.  Thanks.

Author Closing Comment

ID: 35435007
Figured it out myself.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, I was working on some optimization and spam-stopping techniques when I encountered Ben Nadel's post to reduce spam feature using Math (http://www.bennadel.com/blog/197-How-I-Stop-Spammers-On-My-ColdFusion-Blog.htm). While this method is not o…
Hi. There are several upload tutorials using jquery and coldfusion. I found a very interesting one here Upload Your Files using Jquery & ColdFusion and Preview them (http://www.randhawaworld.com/) . I did keep the main js functions but made sever…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses
Course of the Month14 days, 19 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question