Perform the following
steps if you are using IIS 7.0 as your Web server:
-
Open the applicationHost.config
file located in
C:\Windows\System32\inetsrv\config\
.
-
Locate and then edit
the following line so that the overrideModeDefault variable is set
to Allow:
<section name="handlers" overrideModeDefault="Allow" />
-
-
Open the web.config
file. The default location for the file is in the same folder where
the CGI executables are located. However, if there is no web.config
file in this folder, then you need to create one.
-
Make the following edit
to the file:
<configuration>
<system.webServer>
<handlers>
<add name="ScriptMap1" path="broker.exe" verb="*" modules="CgiModule"
scriptProcessor="c:\inetpub\scripts\broker.exe" resourceType="File"
allowPathInfo="true" />
<add name="ScriptMap2" path="htmSQL.exe" verb="*" modules="CgiModule"
scriptProcessor="c:\inetpub\scripts\htmSQL.exe" resourceType="File"
allowPathInfo="true" />
</handlers>
</system.webServer>
</configuration>
-
-
Restart the IIS Web
server.