Thread WWW-Authenticate: Authentifizierung per Perl Script (16 answers)
Opened by vinnie_paul at 2005-08-18 15:22

esskar
 2005-08-18 23:46
#5455 #5455
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
[quote=GwenDragon,18.08.2005, 20:00]
Code: (dl )
1
2
3
print "WWW-Authenticate: Basic realm=\"Test für Login\"\n", 
 "HTTP/1.0 401 Unauthorized\n",
 "\n";
[/quote]
nein; das liegt daran, dass bei normalen CGI, die antwort des webservers immer "HTTP/1.x 200 Ok" ist!
was du da machst, ist defenitiv falsches HTTP

View full thread WWW-Authenticate: Authentifizierung per Perl Script