Hi All, I need to write some function to authenticate a visitor using HTTP Authentication, matching his login information with another server. Here's the idea more clear:
1. A visitor enters www.myserver.com 2. He gets on his screen the user/password HTTP Authentication window and tries to login 3. The script should take the provided login information and send it to www.anotherserver.com just to check if an authentication success can be done using that login information. 4. The script then grants or deny access to the user, based on point 3. I know how to match the login information using LWP::UserAgent, but i can't find the way to force Apache to send a controlled 401 response or a way to make the user's browser open the HTTP Authentication window. Also, i can't find a way to catch the login information to process it and let Perl decide if it is a success login or not. If it's worth for something, i'm using Apache 2.2 with mod_perl 2.0 and Perl 5.8. Please, if someone can help me understanding how to accomplish this task, i'll really appreciate it. Thank you! :-) Paco
_______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
