Hendrik Sachse: CGI & IIS setup problem

Beitrag lesen

Hi Leute,

ich hab ein Problem meinen IIS so einzurichten, dass ich python als cgi interpreter nutzen kann.
Ich bekomm folgende fehlermeldung im IE:

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

C:\Python25\python.exe: can't open file '': [Errno 2] No such file or directory

Sieht so aus als ob der IIS den Interpreter ohne angabe eines script files aufruft.

Meine IIS config sieht so aus:
virtueller Pfad cgi-bin
Anwendungszuordnung: .cgi auf c:\python25\python.exe "%1" %2

Danke

Hendrik