Beginner question

H

howa

G

Graham Dumpleton

Hi,

Just want to try mod_python but it is more complicated then I
expected...

I just followed the tutorial on:http://www.modpython.org/live/mod_python-2..7.8/doc-html/inst-testing....

E.g.

URL =http://www.example.com/mptest.py

It return

ImportError: No module named mptest

1. If I removed addHandler mod_python .py and PythonHandler mptest, I
can see the SOURCE CODE

2. The PythonHandler mod_python.testhandler seems return correct
result, showing I am using python 2.4.3

any idea?

Why are you using the documentation from version 2.7.8 of mod_python
when you are using a much newer version?

Also read:

http://www.dscpl.com.au/wiki/ModPython/Articles/GettingModPythonWorking

Graham
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,189
Messages
2,571,015
Members
47,616
Latest member
gijoji4272

Latest Threads

Top