Getting Python/IIS/ASP to work

Geoffrey geskerrett at hotmail.com
Sun Feb 29 08:59:14 EST 2004


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



More information about the Python-list mailing list