<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I'm trying to check status on a web site which requires basic authentication.  This is not auth from the web app, but a pop-up window from Apache.  <br><br>My command string is:<br><br>check_http -H <a href="http://www.somedomain.com/">www.somedomain.com</a> -v -a user:pass<br><br>It always returns HTTP WARNING: HTTP/1.1 401 Authorization Required<br><br>I can successfully connect to another apache based site using the same command string.<br><br>From the verbose output, the only difference I can see between the two sites is this line:<br>"WWW-Authenticate: Digest realm="Restricted Access", nonce="V+kWjRNCBAA=8226d42966b0325c9124341db605f1eb57b7ff35", algorithm=MD5, domain="/ /gallery /forum", qop="auth"<br><br>The one I can authenticate to has this:<br>"WWW-Authenticate: Basic realm="Restricted Access"<br><br>Any ideas?<br><br>Thanks<br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><br></div></div></div></span> </div><br></body></html>