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.

My command string is:

check_http -H www.somedomain.com -v -a user:pass

It always returns HTTP WARNING: HTTP/1.1 401 Authorization Required

I can successfully connect to another apache based site using the same command string.

From the verbose output, the only difference I can see between the two sites is this line: "WWW-Authenticate: Digest realm="Restricted Access", nonce="V +kWjRNCBAA=8226d42966b0325c9124341db605f1eb57b7ff35", algorithm=MD5, domain="/ /gallery /forum", qop="auth"

The one I can authenticate to has this:
"WWW-Authenticate: Basic realm="Restricted Access"

Any ideas?

Thanks


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to