Windows Azure上的自定义cgi出现404错误

Windows Azure上的自定义cgi出现404错误,azure,web-config,cgi,iis-8,Azure,Web Config,Cgi,Iis 8,我们在通过Paybox系统配置自定义cgi(modulev3.exe)时遇到了麻烦 我们如下: 但这会导致404错误 ServiceDefinition.csdef: <Startup> <Task commandLine="EnableIsapi.cmd" executionContext="elevated" taskType="simple" /> </Startup> Web.config: <system.webServer>

我们在通过Paybox系统配置自定义cgi(modulev3.exe)时遇到了麻烦

我们如下:

但这会导致404错误

ServiceDefinition.csdef:

<Startup>
 <Task commandLine="EnableIsapi.cmd" executionContext="elevated" taskType="simple" />
</Startup>
Web.config:

<system.webServer>
   <handlers accessPolicy="Read, Write, Script, Execute">
     <remove name="CGI-exe" />
      <add name="CGI-exe" path="*.exe" verb="*" modules="CgiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />
    </handlers>
    <security>
      <requestFiltering>
          <fileExtensions>
            <add fileExtension=".exe" allowed="true" />
          </fileExtensions>
      </requestFiltering>
      <isapiCgiRestriction>
        <add allowed="true" path="%RoleRoot%\approot\cgi-bin\modulev3.exe" description="PAYBOXMODULE" />
      </isapiCgiRestriction>
    </security>
</system.webServer>

您什么时候收到404错误?
<system.webServer>
   <handlers accessPolicy="Read, Write, Script, Execute">
     <remove name="CGI-exe" />
      <add name="CGI-exe" path="*.exe" verb="*" modules="CgiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />
    </handlers>
    <security>
      <requestFiltering>
          <fileExtensions>
            <add fileExtension=".exe" allowed="true" />
          </fileExtensions>
      </requestFiltering>
      <isapiCgiRestriction>
        <add allowed="true" path="%RoleRoot%\approot\cgi-bin\modulev3.exe" description="PAYBOXMODULE" />
      </isapiCgiRestriction>
    </security>
</system.webServer>