Hello yop-me,
First of all thank you very for your help. Following my Code. Do you know
where the fault is?
#!/usr/bin/perl
if ($0 =~ /(.*)\/[^\/]*$/) { push (@INC, "$1"); }
if ($0 =~ /(.*)\\[^\\]*$/) { push (@INC, "$1"); }
use site_lowlevel;
}
use site_lib;
use site_dlib;
use site_config;
use site_iolib;
use File::Find;
use site_form_lib;
use site_createlib;
%META_META = ();
@search_fields = ();
$Block_Count = 0; # A 'Block' is until the next CLEARLIST so each READDIR
only
$TIME = time; # CAPS means current time! c.k.
&active_finddate ($TIME);
$YEAR = $year;
$FULLYEAR = $fullyear;
$MON = $mon;
$MONAT = $monat;
$MDAY = $mday;
$DAYOFWEEK = $dayofweek;
$SEC = $sec;
$HOUR = $hour;
$MIN = $min;
$savepage_string = ""; # if you want to make
$taker_count = -1;
$basepath = "$SYSTEM_CONF{'DOCUMENT-ROOT'}";
$path = "$SYSTEM_CONF{'SITE-DIR'}";
%FORM = DecodeFormData (); # formulare auswerten
@cookie_fields = split (/\,/, $ENV{'HTTP_COOKIE'});
&split_cookie_fields; # Cookies auswerten
$checkfile = "indigo.htms"; # do not display this file
print "Content-Type: text/html\n";
$level = "";
undef %YET_DONE;
....
Sebastian
>-- Originalnachricht --
>From: "yop=me" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Date: Mon, 4 Oct 2004 08:41:43 -0400
>Subject: Re: Help - CGI Error on IIS6
>
>
>When i have this problem, is becuase my script
>dont sends the
>print "Content-type: text/html\n\n";
>first line.
>Mybe there is the problem.
>
>
>
>----- Original Message -----
>From: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, October 04, 2004 7:49 AM
>Subject: Help - CGI Error on IIS6
>
>
>> Hi all,
>>
>> I've searched in Google, Google groups and the ASPN Mailing List and
have
>> been looking for answers for days to get my cgi scripts to work in IIS6.
>> When I try to load a .pl file in my web browser, I get the following
>error:
>>
>> CGI Error
>> The specified CGI application misbehaved by not returning a complete
set
>> of HTTP headers.
>>
>> We're running a Windows 2003 Standard edition server with IIS6 and
>installed
>> ActivePerl 5.8.4.810 via the MSI with following settings:
>>
>> In the configuration I have .pl listed under extensions which is Associate
>> with c:\Perl\Bin\Perl.exe "%s" %s and the verbs are listed as GET, HEAD,
>> POST the boxes are checked for both Script Engine and Verify that file
>exists.
>> (This is inserted by the ActivePerl installation process.)
>>
>> Even though we ?allow? the extension in the IIS under 'WebService
>Extensions'.
>>
>> Under execute permissions I have Scripts and Executables
>>
>> Under the Directory security tab in the Authentication and access control
>> properties I have the Enable anonymous access checked and I am using
the
>> IUSR_<serverName> account and correct password.
>>
>> It seems to be a configuration problem, because the script works perfectly
>> in the command line.
>>
>> I hope someone can help me
>> R.
>>
>>
>>
>> _______________________________________________
>> ActivePerl mailing list
>> [EMAIL PROTECTED]
>> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>>
>>
>
>_______________________________________________
>ActivePerl mailing list
>[EMAIL PROTECTED]
>To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs