Front page | perl.perl5.porters |
Postings from November 1999
HTTP Authentication
Thread Next
From:
Joan Blanch Morera
Date:
November 10, 1999 09:27
Subject:
HTTP Authentication
Message ID:
011301bf2b9f$dd96b860$0c274dc3@daucom.es
I've tried to autenticate with this code:
#!/usr/bin/perl
print "HTTP/1.0 401 Authentification Required\n";
print "WWW-Authenticate: Basic realm=\"FOO\"\n";
print "Content-type: text/plain\n\n";
print "<HTML><BODY>Hi</BODY></HTML>";
but this code not work....any sugestions, and, when i'll autenticate the clients, how can i catch the user (with REMOTE_USER), but and the password????
Thanks
_______________________________________
Joan Blanch Morera
Espais Telemàtics, S.L.
c/Diputació, 260
08007- Barcelona
phone (+34) 93 302 55 43
e-mail joanb@etelematics.com
_______________________________________
Thread Next
-
HTTP Authentication
by Joan Blanch Morera