I need a script which redirect incoming users to a specific URL depending on which is the first URL that is found to be alive in a list. The URL is chosen from a list of URLs associated with various servers. The script sends users to the URL associated with first server that is not down. The script emails me whenever a redirection change is made due to a server going down or going back up. I suggest this is achieved by having a cron job which checks the status of the relevant servers and modifies a file or database specifying which URL should be used to direct users to. The redirection script reads this file and redirects users accordingly. Here is an example. The server list contains the following info [url removed, login to view] [url removed, login to view] [url removed, login to view] [url removed, login to view] [url removed, login to view] [url removed, login to view] The cron job makes a http request test to [url removed, login to view] every 10 minutes. If it is alive it updates (or leaves the same if there is no change to its status) the URL that the redirection script will read to be [url removed, login to view] If it is down, it makes a http request test to 188.8.131.52. If this IP is alive it updates the redirection URL to be [url removed, login to view] It also emails me about this change. Etc. I would just as happily use text configuration files for this (instead of mysql) but the redirect script will get a lot of traffic so using text files might put a huge burden on the CPU? Perhaps the URL selection file can be text and the redirection target be stored in MYSQL? If MYSQL is necessary for the URL selection options, then a simple configuration input interface (probably web-based) will also be required. Server is [url removed, login to view] Celeron with up to 50,000 redirect requests per day. Please give this question some consideration before making a bid.