Python setup not working on Windows XP

Tim Roberts timr at probo.com
Tue Jan 8 01:31:15 EST 2008


Gowri <gowricp at gmail.com> wrote:
>
>I am new to Python and am trying to setup Apache to serve Python using
>mod_python. I'm using a Windows XP box. here is a list of steps i
>followed for the installation:
>
>1. Installed Apache 2.2.6
>2. Installed Python 2.5.1
>3. Installed mod_python 3.3.1
>
>I then included the line
>LoadModule python_module modules/mod_python.so in httpd.conf
>
>I had this one line python file (print "Hello") in htdocs of Apache.

Did you put it in a file called "hello.py"?  Did you create an AddHandler
for .py files?  Did you create a PythonHandler referring to hello.py?
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list