Forum Moderators: coopster

Message Too Old, No Replies

redirect to html when apache is down

         

skid94

11:36 pm on Oct 1, 2006 (gmt 0)

10+ Year Member



I am running the apache server from home and my website from an php unsupported web server. I need a way to see if the appache is running to access on_air.php, if not redirect to an html page on my webserver. Remember my server doesnt support php, so I am looking for an if then kind of statement. Any suggestions.

Scott P

DrDoc

3:02 am on Oct 2, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld!

What I would do is probably utilize AJAX. Using an AJAX request, you can query your server and, if a response is received, you print the link to the page. If no response -- no link.