hth,

You wrote, "I would double check both of these..."
1) I double check the Security settings on both CGI-BIN directory and
parent directories. The IUSR_V2001 <Built-in account for anonymous
access to IIS> has been set as default.

2) My .pl file extension should establish to run with Perl.
   because if I point to something other site such as www.msn.com.
Works.
   Or if I run some other simple Perl script such as display current
time. Works, too.
Thanks
-Allen



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 4:23 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Need help on CGI Error


-----Original Message-----
From: Chung, Allen [mailto:[EMAIL PROTECTED]]

use LWP::Simple;
use CGI qw( :standard); 
$webpl=("<http://www.yahoo.com>");
print $webpl; 
### this work fine ####
Problem:
If I change to the other URL such as (
$webpl=("<http://merchantaccount.quickbooks.com/j/mas/signup>"); ) 
Then, I got error
CGI Error
The specified CGI application misbehaved by not returning a complete set
of
HTTP headers. The headers it did return are: 

Prototype mismatch: sub main::head ($) vs none at C:/Perl/lib/CGI.pm
line
231. 
How come and how could I overcome with it.
</snip>

Allen,

I usually get this error because one one or both of the following...
- My .pl file extension is not established to run with Perl.
- The Security settings on the cgi directory and parent directories
won't
allow the IUSR_<SERVER> userid access to the CGI directory.

I would double check both of these...

hth,

Adym Lincoln
Edgewater Technology, Inc.
Phone: (603) 644-2445, 7261
Fax: (603) 669-8330

Nothing great was ever achieved without enthusiasm. - Ralph Waldo
Emerson

Attachment: smime.p7s
Description: application/pkcs7-signature

Reply via email to