<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4807.2300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Paul,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I had difficulties getting it to run with a similar
setup as well. One thing you could do is making sure
that the mod_python lib subdirectory under your python21/lib (or
whatever) directory is named "mod_python" and not
"mod_python_v1.2.3.whatever". This snagged me for a while.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>- Lindsey Smith</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=paul@gudge.demon.co.uk href="mailto:paul@gudge.demon.co.uk">Paul
Goodyear</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=mod_python@modpython.org
href="mailto:mod_python@modpython.org">mod_python@modpython.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, August 21, 2001 6:19
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [mod_python] Inline python on
Apache</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Tahoma size=2>I have been trying to get the mod_python.dll
working but have given up.</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV><FONT face=Tahoma size=2>I have tryind the following</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV><FONT face=Tahoma size=2>LoadModule python_module
modules/mod_python.dll<BR></FONT></DIV>
<DIV><FONT face=Tahoma size=2>in the httpd.conf and also tried the
line</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV><FONT face=Tahoma size=2>AddType application/x-httpd-py .py</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV><FONT face=Tahoma size=2>but am not sure this was correct.</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV><FONT face=Tahoma size=2>The .py file refused to work, all I get is the
"Internal Server Error"</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV><FONT face=Tahoma size=2>So I have set it up as CGI and HAVE to put the
#!/Python21/python at the top of every .py file.</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV><FONT face=Tahoma size=2>I have been using PHP for over a year and Python
as well on ISS 5 but since i've moved to Apache I can't get the Python module
working.</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV><FONT face=Tahoma size=2>Can anyone shed some light.</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV><FONT face=Tahoma size=2>system:</FONT></DIV>
<DIV><FONT face=Tahoma size=2>Windows 2000 Server (SP2)</FONT></DIV>
<DIV><FONT face=Tahoma size=2>Apache 1.3.20</FONT></DIV>
<DIV><FONT face=Tahoma size=2>PHP 4.0.6</FONT></DIV>
<DIV><FONT face=Tahoma size=2>Python 2.1.1</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV><FONT face=Tahoma size=2>regards</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV><FONT face=Tahoma size=2>paul
goodyear</DIV></BLOCKQUOTE></FONT></BODY></HTML>