|
Ales Zemene
ales at mur.at
Wed Feb 23 20:05:56 EST 2005
hello,
it looks like mod_python is working, but not shure what's next,
page is not displaying anything, browser is just trying to download it.
edited /home/ales/public_html/ice/python/test.py
( directory /home/ales/public_html/ice/python/ is normaly visible on net)
from mod_python import apache
def handler(req):
req.write("Hello World!")
return apache.OK
httpd.conf :
<Directory /home/ales/public_html/ice/python/test.py>
AddHandler mod_python .py
PythonHandler mptest
PythonDebug On
</Directory>
restarted apache, error log:
<snip>
[Thu Feb 24 02:01:28 2005] [notice] Apache/1.3.33 (Debian GNU/Linux)
mod_python/2.7.10 Python/2.3.4 PHP/4.3.10-2 configured -- resuming
normal operations
[Thu Feb 24 02:01:28 2005] [notice] suEXEC mechanism enabled (wrapper:
/usr/lib/apache/suexec)
[Thu Feb 24 02:01:28 2005] [notice] Accept mutex: sysvsem (Default:
sysvsem)
</snip>
any idea what is missing?
thanks
Ales Zemene
|