1 Reply Latest reply on Feb 24, 2011 9:24 PM by lsharma1064

    cgi error

    lsharma1064

      when i run the script as

      http://localhost/cgi/reg.cgi?username=foo&identity=1234

       

      i get the following error:

       

      CGI Error

      The specified CGI application misbehaved by not returning a complete set of HTTP headers.  The headers it did return are:

      Can't exec python at C:\cgi-bin\reg.cgi line 1.


        • 1. Re: cgi error
          lsharma1064 Level 1

          Resolved. The reg.cgi works with python.... i installed the python. And then in iis -> website properties -> configuration -> mapping , i edited the cgi extension with c:\python\python.exe %s %s... and everything thereafter worked fine....