Getting Python/IIS/ASP to work

From: Geoffrey (geskerrett_at_hotmail.com)
Date: 02/29/04


Date: 29 Feb 2004 05:59:14 -0800

I have been struggling to get python to work as the scripting language
for ASP and I am wondering of there is something special I need to do
to IIS.

I have created a simple test script as follows;
<%@ Language = Python %>
<%
  Response.Write("Python lives in the ASP delimeters!")
%>
<HTML>
<head></head>
<body>
<h1>My Python Test</h1>
</body>
</html>

needless to say all I get is the <h1> header test "My Python" so IIS
will serve the page and render the HTML correctly, however, the ASP
tags are still visible in the renders page and none of the
instructions are carried out.

I have followed several of the instructions I found on the net,
installed the Activex component for python, including the security
patch and all of which seems to be working OK.

IS there something I need to do to setup IIS to start interpreting the
ASP information correctly ??

My configuration is Win2k Pro SP4, IIS 5.0



Relevant Pages

  • RE: replacing ASP/VBScript with Python
    ... > is a pain for me to support. ... > pickle Python objects to a string and store that in an ASP session. ... ASP--make it just a stub to call the real Python app. ...
    (comp.lang.python)
  • Re: How to create web page with spreadsheet like functionality?
    ... > language like ASP, JSP, DHTML, PYTHON or PHP or a third party tool. ...
    (comp.os.linux.misc)
  • Re: Is Apache ASP similar to ASP?
    ... >> You need to decide on a platform first. ... >> in buying a Windows server and then using Apache). ... >reason to use Python over ASP? ...
    (microsoft.public.inetserver.asp.general)
  • Re: replacing ASP/VBScript with Python
    ... Peter Maas wrote: ... I'd like to rewrite the whole thing in Python but the app ... Python ASP. ... > pickle Python objects to a string and store that in an ASP session. ...
    (comp.lang.python)
  • Re: Embedded scripting language advice sought
    ... thread-safe, or, at least able to have multiple coexisting execution ... The obvious choice for this was Lua; it hits a lot of the marks, ... but I'd really rather find an embedded scripting language ... I also wondered if Python would be a good choice, ...
    (freebsd-questions)