72978 Server check and redirect

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

Beceriler: Her şey Kabul, Perl, PHP

Daha fazlasını gör: list of web servers, due consideration, redirection script, mysql redirect url script, php http redirect, server required configuration, redirect requests, based redirection, simple redirection script, perl change file, found server, web redirect, http redirect, redirect found, mysql server example, php server cron job, url check, mysql check, configuration traffic server, server redirects

İşveren Hakkında:
( 4 değerlendirme )

Proje NO: #1820760



can be done... [login to view URL]

%selectedBids___i_period_sub_7% gün içinde 90%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(588 Değerlendirme)