Re: Digest Auth...

>> http://www.spyglass.com:4040/~eric/protected/digest.txt
>>
>> username Timon
>> password HakunaMatata
>
>  Doesn't appear to be working... :)
>
>[wmperry]telnet www.spyglass.com 4040
>Trying 192.246.238.10...
>Connected to spyglass.com.
>Escape character is '^]'.
>GET /~eric/protected/digest.txt HTTP/1.0
>
>Connection closed by foreign host.
>
>  D'ohhh!

On the contrary -- it works just fine, sortof :-).  I did forget to mention
that this particular server requires the Extension: Security/Digest header,
as mentioned in the draft.  If you send that header along, it will function
correctly.  It's behavior without the header is kind of questionable.  This
is just a copy of NCSA httpd 1.3 which I hacked to support Digest.

--

Connected to spyglass.com.
Escape character is '^]'.
GET /~eric/protected/digest.txt HTTP/1.0
Extension: Security/Digest

HTTP/1.0 401 Unauthorized
Date: Monday, 24-Apr-95 21:56:51 GMT
Server: NCSA/1.3
MIME-version: 1.0
Content-type: text/html
WWW-Authenticate: Digest realm="DigestAuthenticationInfo" nonce="798760611" opaq
ue="34e1ea8800a2a942d95d31b9a7bd3c81"

<HEAD><TITLE>Authorization Required</TITLE></HEAD>
<BODY><H1>Authorization Required</H1>
Browser not authentication-capable or
authentication failed.
</BODY>
Connection closed by foreign host.


--
Eric W. Sink, Senior Software Engineer --  eric@spyglass.com

        http://www.spyglass.com/~eric/home.htm

Received on Monday, 24 April 1995 15:03:04 UTC