Edgard Alves da Costa
edgardalvescosta at gmail.com
Mon Sep 8 07:48:38 EDT 2008
Hi all, After a beging sucessfully in mod_python, some friends told me that working with zope/plone would give a large vision of how i could work with script python and web. The trip was good, but i prefer the way of mod_python. Well, i turned back my apache server and i'm having a little problem with the configuration. My apache2: <Directory /var/wwww/pwww/> SetHandler mod_python PythonHandler mod_python.publisher PythonDebug On </Directory> or <Directory /var/wwww/pwww/> AddHandler mod_python .py PythonHandler mod_python.publisher PythonDebug On </Directory> In the browser a i have the scripts like a common txt files. like: def teste(): s="""\ <html> <body> Teste </body></html>""" return s What is wrong?? The version of the softwares: Apache/2.2.8 (Ubuntu) mod_python/3.3.1 Python/2.5.2 Server -- Edgard Alves Costa www.prontuarioeletronico.odo.br LinuxUser:443056 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20080908/5e8e26ab/attachment.html
|