Re: Python scripts in IIS

From: Scott F (sdfATexpertuneDOTcom)
Date: 02/24/04


Date: Tue, 24 Feb 2004 14:19:20 -0000


"Jon Cosby" <jcosby@nospam.net> wrote in
news:aHv_b.6560$aT1.3079@newsread1.news.pas.earthlink.net:

>
> Sorry. It's in the browser window. The script does not execute. I
> have "Show friendly http error messages" set to false in Internet
> Explorer. As it happens on all of the scripts, I can't single out
> one command. I have ActiveState's build of Python 2.3, and don't
> recall running into this previously, but there might be something
> in the IIS configuration I'm overlooking.

Go to the Properties of the (Default) Web site, Home Directory tab,
Configuration button. On the Mappings tab, add a mapping for Python in
the form

<pathtopython>\python.exe %s %s

Use your actual pathtopython and don't substitute anything for %s %s.

Should work fine.

Scott