in reply to Configuring IIS for CGI::Application

The PATH_INFO is disabled by default for Script mapped thing on IIS - you can turn it on by running:

adsutil.vbs set w3svc/AllowPathInfoForScriptMappings TRUE
adsutil.vbs will be found in \inetpub\adminscripts or somewhere under %WINDIR%\system32\inetsrv depending on your setup.

/J\

Replies are listed 'Best First'.
Re^2: Configuring IIS for CGI::Application
by Anonymous Monk on Aug 11, 2005 at 17:21 UTC

    That doesn't seem to work for my setup...after making that change URLs like this:

    http://localhost/cgi-bin/app_name.cgi/run_mode_name?params=values

    Still give me 404 errors. Although, with the change, this address works: http://localhost/cgi-bin/app_name.cgi/?params=values

    while before only this worked.

    http://localhost/cgi-bin/app_name.cgi?params=values

    Is there a name for how I'm parsing the URL here?

    Also, and potentially of note, I know that on Apache mediawiki software allows you to create urls like

    http://en.wikipedia.org/wiki/Perl or http://localhost/wiki.php/Perl

    But on their installation page, it says this isn't possible on IIS. Is this the case for perl too? If so, then its not true CGI::Application can "run equally well on NT/IIS or any other CGI-compatible environment."