Python as CGI on IIS and Windows 2003 Server

and-google at doxdesk.com and-google at doxdesk.com
Wed Jun 15 22:20:25 CEST 2005


Lothat <lothar.sch at gmx.de> wrote:

> No test with or without any " let the IIS execute python scrits as cgi.
> Http Error code is 404 (but i'm sure that the file exists in the
> requested path).

Have you checked the security restrictions? IIS6 has a new feature
whereby script mappings are disabled by default even if they are listed
in the configuration list.

To turn CGI on, go to the IIS Manager snap-in and select the 'Web
Service Extensions' folder. Select 'All Unknown CGI Extensions' and
click 'Allow'.

Incidentally, the string I am using is:

  "C:\Program Files\Python\2.4\python.exe" -u "%s" "%s"

-- 
Andrew Clover
mailto:and at doxdesk.com
http://www.doxdesk.com/




More information about the Python-list mailing list