Python scripts in IIS

Scott F sdfATexpertuneDOTcom
Tue Feb 24 09:19:20 EST 2004


"Jon Cosby" <jcosby at nospam.net> wrote in
news:aHv_b.6560$aT1.3079 at 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



More information about the Python-list mailing list