I have an application called Microstrategy that has it’s administration page running in a Weblogic server. Using a browser to access this page I am prompted with an “Enter Network Password” box for a username and password. I can manually login with the proper username and password. However, to put this into a script so that I can parse the Administration page, I can’t get past this. Here is what I’ve used:
http://username:[EMAIL PROTECTED]/adminpage
I get a page not found with this and with:
$ua = LWP::UserAgent->new;
$url = "http://servername/adminpage";
$req = new HTTP::Request (GET => $url);
$req->content_type('application/x-www-form-urlencoded');
$req->authorization_basic('username', 'password');
$res = $ua->request($req, $filename);
Anyone tried to connect to a page being run on Weblogic?
System Administrator
Sprint – EAS Business Intelligence
[EMAIL PROTECTED]
_______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs