I found that it was permissions on the ASP page. Since this is the
admin page for the application, the administrators group was the only
group with access. I added a $req->authorization_basic('id', 'pwd')
with an id and pwd in the administrators group. I also made a slight
change to the File Security in IIS.
Stanley G. Martin
Sprint - ISS Enterprise App/Decision Support Services
[EMAIL PROTECTED]
-----Original Message-----
From: cjolley [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 26, 2002 5:01 PM
To: Stanley.G.Martin
Cc: perl-win32-users; perl-win32-web
Subject: Re: LWP and ASP Pages
On Mon, 26 Aug 2002 [EMAIL PROTECTED] wrote:
> I'm trying to test to make sure my web site is up by connecting to the
> admin web page of my application. The admin web page is an ASP page
and
> whenever I set it up using:
>
> use HTTP::Request;
> use LWP::UserAgent;
>
> $filename = D:\\temp\\msi.html";
>
> $ua = LWP::UserAgent->new;
> $url = "http://webserver/admin.asp";
> $req = new HTTP::Request (GET => $url);
> $res = $ua->request($req, $filename);
> if ($res->is_success) {
> print "Got response back from web page\n";
> } else {
> print "No response from web page.\n";
> exit;
> }
>
> It always fails. I can take the URL and plug it into a browser and it
> comes up just fine. Any ideas???
>
>From your script, what does: -w $filename
tell you?
**** [EMAIL PROTECTED] <Carl Jolley>
**** All opinions are my own and not necessarily those of my employer
****
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs