Re: IIS 6.0 CGI pipe broken...

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 12/17/03


Date: Wed, 17 Dec 2003 11:20:43 -0800

To be clear -- unable to access an INI file usually points to a permissions
issue, not a problem with how IIS "executes" a CGI.

IIS executes a CGI the same way IIS4/5 does -- call CreateProcess* on it.

I will hand this info to the CGI tester to try out.

On a whim -- can you add IIS_WPG List+Read ACLs to the CGI and INI file and
see?

-- 
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Hoch" <Hoch@fightspammers.com> wrote in message
news:oprz9k3riuxbnazm@localhost...
David,
We did two additional tests:
On Windows 2000 Pro + IIS 5.0:
1. The CGI+client database work fine on Windows 2000 with
IIS 5.0. Just installed IIS 5.0. Created a virtual dir for
the CGI with execute script in the properties dialog of
the virtual server and it works great.
On a Windows server 2003 + IIS 6.0 (fresh install):
1. We installed the CGI and database client on a Server 2003
with a fresh install of IIS 6.0. We created the virtual dir
for the CGI and set it to execute scripts. Same steps as
we took when installing on Windows 2000 + IIS 5.0 and it
does not work. The CGI is unable to access its .ini file.
Bottom line: Our CGI + database client works fine with
Apache 2.0.48, IIS 4.0 and IIS 5.0 but it does not work
in IIS 6.0 even if we enable the IIS 5.0 compatibility mode.
So, there must be something in IIS 6.0 that prevents the
correct execution of this CGI and I do not think is an
ACL problem.
If you want I can send you the CGI stub, it is very small,
70k, so yo can test what is going wrong. Our address is
'comercial' at 'shopsland.com'
Thank you in advance! :-)
Hoch.


Relevant Pages

  • Re: IIS6 - CGI wont run on new website
    ... > Sounds like your CGI is broken and needs to be debugged. ... > Your customer did not correctly configure execute permissions for the ... > instead of execute on server. ... > This configuration controls how IIS handles such ambiguous URLs. ...
    (microsoft.public.inetserver.iis)
  • Re: Unable to execute CGI app
    ... My instructions are sufficient to execute a CGI on IIS6. ... error message AND your CGI EXE executes on the POST, ... As soon as IIS routed the POST request to the CGI and executed it, ...
    (microsoft.public.inetserver.iis)
  • Re: IIS 6.0 CGI pipe broken...
    ... Ok, great, so your CGI is obeying all the rules and is actually executed by ... Does this CGI "shell out" to call CMD.EXE in any way, like execute a batch ... The logon made by RUNAS is has a different set of switches than the logon ... that IIS makes. ...
    (microsoft.public.inetserver.iis.security)
  • Re: CGI under IIS throws away printf on multiple posts.
    ... IIS is not throwing away anything. ... will have to implement in CGI, by taking a server-side lock to prevent the ... session from performing the operation a second consecutive time. ... "application session" (IIS is a high-performance server. ...
    (microsoft.public.inetserver.iis)
  • Re: 404 errors with cgi scripts
    ... the troubleshooting steps already exist. ... In F1 help in IIS ... 404 2 -- fail by Web Service Extension. ... It sounds like this CGI is one of them (it detects that it ...
    (microsoft.public.inetserver.iis)