addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwchatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgoogleimageimagesinstagramlinklocation-pinmagnifying-glassmailminusmoremuplabelShape 3 + Rectangle 1outlookpersonplusprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

The Online ColdFusion Meetup Message Board › 503 Redirect

503 Redirect

user 7520549
Bethlehem, PA
Post #: 34

Hope all are doing well.

I have a Windows Server 2003, IIS 6, Coldfusion 8, ISAPI


All of these sites reside on one server. We are moving the server this Friday and while the server is being moved we will bring up another server described above. I want to display a page on all 3 sites saying the server is down for maint and to check back soon. This page should show up when someone tries to access any page on any of the 3 sites. This can be done with a single page on each of the 3 sites or a redirect to a single page on another site.

The trick is I need it to return a 503 status code for Google, not a 302 redirect then a 503. I would think this would be easy but am apparently brain farting and am having troubles returning only the 503 status code in addition to redirecting to a maint page.

ANy ideas are gr8ly appreciated!


user 7520549
Bethlehem, PA
Post #: 36

What I plan to do is use ISAPI to send all requests to a single CF page on the site. In this page I added a cfheader statusCode="503" ... to get the status code.

It seems to work.

Powered by mvnForum

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy