Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
rkabalin
byrkabalin, September 21, 2012
The modified version with virtual host support is available at https://github.com/kabalin/check_http_redirect
With optional -H parameter it is possible to specify 'Host' request header attribute. This is particulary useful when webserver is behind loadbalancer and hosting several virtual hosts at the same address. If particular virtual host on the webserver redirection check is required, specify the hostname or IP in the -U parameter and the virtual host using -H parameter:
check_http_redirect.pl -U http://webserver1.com -H somesite.com -R https://somesite.com
With optional -H parameter it is possible to specify 'Host' request header attribute. This is particulary useful when webserver is behind loadbalancer and hosting several virtual hosts at the same address. If particular virtual host on the webserver redirection check is required, specify the hostname or IP in the -U parameter and the virtual host using -H parameter:
check_http_redirect.pl -U http://webserver1.com -H somesite.com -R https://somesite.com