I am wanting to write a very simple webserver,  that requires
authenticatioin to access a users pages.  That is the part that I am stuck
on.  I don't seem to be able to send a header back to the browser to get it
to display an authentication box.  I want to tackle that before moving on to
receiving back their response.

 

I captured the below header sent from a server that I have to login to.
Tried to send this to a browser as response to a request for a page.  Got no
response.   

 

HTTP/1.1 401 Authorization Required

Date: Wed, 16 May 2007 23:01:54 GMT

Server: Apache/1.3.33 (Darwin) mod_ssl/2.8.24 OpenSSL/0.9.7l PHP/4.4.4

WWW-Authenticate: Basic realm="Clients"

Connection: close

Content-Type: text/html; charset=iso-8859-1

 

 

Can any of you Web Gurus give me a hint to get me started?

 

Stephen

 

 

    

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to