[mod_python] Problem with psphandler

Alexander Nagel feuerschwanz76 at web.de
Thu Mar 17 16:28:48 EST 2005


Hi,
i have here an apache2 running with mod_python
and i configured it for use with .psp-pages.
I add
AddHandler mod_python .psp
PythonHandler mod_python.psp
in httpd.conf like in section 6.2 in the manual.
After that i tested the time example from section 4.9
and it worked successfully.
Now i thought: 'wow how simple'
and i expand it with a single print statement.
<html>
<%
import time
%>
Hello world, the time is: <%=time.strftime("%Y-%m-%d, %H:%M:%S")%>
<%
print "Test"
%>
</html>

But it doesn't work.
'Test' isn't displayed in the browser.
Why?
Thanks
Alex



More information about the Mod_python mailing list