Installing Python as Scripting Language in IIS

naugiedoggie michael.a.powe at
Tue Aug 31 03:55:20 CEST 2010


Windows 2003, 64-bit, standard edition server with IIS 6.0.  I
followed the MS instruction sheets on setting up CGI application with
Python as scripting engine.  I'm just getting 404 for the test script,
whereas an html file in the same virtual directory is properly


Creating Applications in IIS 6.0 (IIS 6.0)

Setting Application Mappings in IIS 6.0 (IIS 6.0)

I mapped the exe thus:  c:\Python26\python.exe -u "%s %s"
to extension `py' for all verbs and checked the `script engine' box.

There are no errors in the script itself, i ran it from the command
line to be sure.  Further, I enabled ASP and tried using python as the
scripting language.  That generates this error:

Active Server Pages error 'ASP 0129'
Unknown scripting language
/cgi/index.asp, line 1
The scripting language 'Python' is not found on the server.

I can't find any good references for dealing with this, either.

I've dicked around with this for so long, now I don't know which way
is up, anymore.

Any thoughts on where I might be going wrong, much appreciated.



More information about the Python-list mailing list