Hey~

The first thing to try as only a "Test" step is to enable "Allow all Unknown CGI's" to ensure that you effectively have CGI setup. This should be disabled immediately afterwards.

The syntax you are using seems accurate for ActiveState Perl. The first question I have, honestly, is do you have to use CGI? CGI is very much outperformed on IIS by ISAPI. If you are using Perl, we typically recommend you use the PERL ISAPI extension for much more performance "out of the box."

Here is the documentation on setting up ActiveState Perl for CGI:
http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/faq/Windows/ActivePerl-Winfaq6.html

For ISAPI, though, here is the documentation:
http://aspn.activestate.com/ASPN/Mail/Message/perl-win32-web/2593732

Hope this helps,

-----Original Message-----
From: alan@discussions.microsoft.com
Posted At: Friday, August 26, 2005 10:51 AM
Posted To: microsoft.public.inetserver.iis
Conversation: cgi script causes 404 2 1260 to be written to IIS logfile
Subject: re: cgi script causes 404 2 1260 to be written to IIS logfile


Greetings.

I have a cgi which writes "404 2 1260" to the IIS 6.0 logfile. I'm running
Windows 2003 Server.
I've added a web extension and pointed it to the perl5.8.4 exe. When adding
the extension I specified the pathname to the exe as
C:\Program Files\DDE\Perlbin\perl5.8.4.exe "%s" %s
(I used an example from a previouis forum post for the variable syntax.)

Any suggestions on how to correctly specify the webextension would be
appreciated.

Thanks.

alan

re: cgi script causes 404 2 1260 to be written to IIS logfile by alan

alan
Mon Aug 29 15:44:04 CDT 2005

Thanks for the email.

The applciation I am trying to run requires CGI. We got it from a business
partner/developre and that is how they wrote it.

I can get a test script to run now. The application is giving me a CGI Error
"The specified CGI application misbehaved by not returning a complete set of
HTTP headers"
which I have described in the response to David Wang.

"Chris Adams (MSFT)" wrote:

> Hey~
>
> The first thing to try as only a "Test" step is to enable "Allow all Unknown CGI's" to ensure that you effectively have CGI setup. This should be disabled immediately afterwards.
>
> The syntax you are using seems accurate for ActiveState Perl. The first question I have, honestly, is do you have to use CGI? CGI is very much outperformed on IIS by ISAPI. If you are using Perl, we typically recommend you use the PERL ISAPI extension for much more performance "out of the box."
>
> Here is the documentation on setting up ActiveState Perl for CGI:
> http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/faq/Windows/ActivePerl-Winfaq6.html
>
> For ISAPI, though, here is the documentation:
> http://aspn.activestate.com/ASPN/Mail/Message/perl-win32-web/2593732
>
> Hope this helps,
>
> -----Original Message-----
> From: alan@discussions.microsoft.com
> Posted At: Friday, August 26, 2005 10:51 AM
> Posted To: microsoft.public.inetserver.iis
> Conversation: cgi script causes 404 2 1260 to be written to IIS logfile
> Subject: re: cgi script causes 404 2 1260 to be written to IIS logfile
>
>
> Greetings.
>
> I have a cgi which writes "404 2 1260" to the IIS 6.0 logfile. I'm running
> Windows 2003 Server.
> I've added a web extension and pointed it to the perl5.8.4 exe. When adding
> the extension I specified the pathname to the exe as
> C:\Program Files\DDE\Perlbin\perl5.8.4.exe "%s" %s
> (I used an example from a previouis forum post for the variable syntax.)
>
> Any suggestions on how to correctly specify the webextension would be
> appreciated.
>
> Thanks.
>
> alan
>
>
>