[mod_python] Newbie Question

Joel Eusebio joele at qalabs.com
Mon Jan 31 19:33:31 EST 2005


Hi Everybody,

 

I'm pretty new to Python and would like to ask a few questions. I have this
setup on a Fedora Core 3 box.

 

Python 2.3.4

wxPython-common-gtk-ansi-2.5.3.1-fc2_py2.3

mod_python-3.1.3-5

Apache/2.0.52

 

I have a test.py which looks like this:

 

from mod_python import apache

 

def handler(req):

        req.write("Hello World!")

        return apache.OK

 

Whenever I access test.py from my browser it says "The page cannot be found"
, I have the file on /var/www/html, what did I miss?

 

Thanks in advance,

 

Joel 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20050131/006877d0/attachment.html


More information about the Mod_python mailing list