Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to configure Python with IIS

2 views
Skip to first unread message

gtaker

unread,
Jan 23, 2002, 1:26:53 PM1/23/02
to
Can anyone direct me to a how to on configuring python with IIS5.0 I'm
having problems understanding how to tell IIS about .cgi and how to use
python with .asp


Python 2.2.0
win32all-146.exe
htmlgen
SOAPpy097

Thanks


DeepBleu

unread,
Jan 23, 2002, 1:51:16 PM1/23/02
to
gtaker
Please do your research on the subject using Google for example. You'll
discover that there are many links on the issue.
Search web and groups for "Python ASP" for example. Then if you encounter
problems, please ask.
One such link is:
http://starship.python.net/crew/pirx/asp/py_asp.html

For CGI, search for "Python IIS"
one link is:
http://starship.python.net/crew/aaron_watters/pws.html
You can associate any extension with the scripts as long as you are pointing
to the Python executable. For example, I use CGP
The second link is missing one piece. You also have to associate this
extension with the Python executable from the IIS manager.
DeepBleu

"gtaker" <ta...@nwlink.com> wrote in message
news:GqELw...@news.boeing.com...

Max M

unread,
Jan 23, 2002, 3:36:52 PM1/23/02
to
gtaker wrote:

> Can anyone direct me to a how to on configuring python with IIS5.0 I'm
> having problems understanding how to tell IIS about .cgi and how to use
> python with .asp

> win32all-146.exe

As far as I can tell there is a bug in that version of win32all that
makes it impossible to use Python in .asp.

I solved it by installing Python 2.1.2 and win32all-140.exe instead.

I have notified Mark Hammond.

regards Max M

Syver Enstad

unread,
Jan 23, 2002, 6:37:15 PM1/23/02
to
"DeepBleu" <Deep...@DeepBleu.org> writes:

> For CGI, search for "Python IIS"
> one link is:
> http://starship.python.net/crew/aaron_watters/pws.html

This is outdated information, use the inetmgr utility instead,
right click your iis application that you have python scripts in,
choose home/virtual directory, choose configuration;
choose app mappings pane, press add and associate the extension you
want to use for py cgi with the interpreter like this:
D:\devtools\python21\python.exe "%s" %s

I am not sure what the second %s does, maybe you can remove it. I just
used it from a cookbook on setting this up.

--

Vennlig hilsen

Syver Enstad

0 new messages