× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I don't know if there is a solution in Java, but you might want to
look at an IP solution.  There are IP routers that are capable of
redirecting traffic between 2 or more IP addresses depending on
traffic.

If you bought one of these routers (or perhaps your own is already
configurable for it) it would be possible to have the traffic going
to your AS/400 redirected to some other computer when the AS/400
is down.  This other computer would be some simple web server that
displayed an HTML page saying the site was down for maintenance.

You wouldn't need a full web server for this either.  A quick
program could be written in many languages (Delphi, VB, etc...)
that listens on port 80 and on connection transmits a file and
closes the port.

HTH,

Jim Langston

-----Original Message-----
From: web400-admin@midrange.com [mailto:web400-admin@midrange.com]On
Behalf Of Mark A. Manske
Sent: Wednesday, September 26, 2001 8:39 AM
To: 'WEB400 (E-mail)
Subject: [WEB400] site validation (up/down)


I have been poking around the JavaScript sites to no avail -
and looking over an O'Reilly JavaScript book to no avail also -

So here is my question to the masters -

Main web site is "FrontPage" static stuff being hosted by our ISP, you click
a link
to get to the customer web site; which is entirely hosted on our AS/400 -
Here is our dilemma (please, I would rather not, but its not my call)
we IPL and do a restrictive backup each week on Friday nights,
is there "any" JavaScript that can check to see first if the referenced http
site is
up or down before I forward the request off ; that way I could send an alert
box
to the surfer to let them know that the site is down for "maintenance"

I thought about "updating" the outside web hosted pages, but that could get
really messy, as I would
have 11 pages to "fix" to say down, and then turn back when we are live; not
to mention the things
I would have to do since that site is done entirely in FrontPage2000 in
order to keep things in sync;
and when I get hit by a truck, someone after me will forget about it and
screw things all up.

Thanks for any direction in utilizing JavaScript (or if I HAVE to I will
just let them get the error of site not found)
This also plays into an attempt at sending an alert message to users that
are on-line near the time we are
going into a restrictive state for the backup and IPL... Yuk..




As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.