Apache2 + Coldfusion.  Need redirect when Coldfusion is down.

Posted on 2011-04-20
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

    Author Comment

    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

    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, 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

    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

    Nevermind I got it.  Thanks.

    Author Closing Comment

    Figured it out myself.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    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 ( . I did keep the main js functions but made sever…
    I spent nearly three days trying to figure out how incorporate OAuth in Coldfusion for the Eventful API. Hopefully, this article will allow Coldfusion Programmers to buzz through the API when they need to. Basically, what this script does is authori…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    This video discusses moving either the default database or any database to a new volume.

    754 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

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now