| Alejandro Michelin Salomon ( Adinet ) 
    alejmsg at adinet.com.uy Fri Apr 28 13:00:41 EDT 2006 
 Hi:
I am new to python.
I need same help.
I add this line to httpd.conf --> LoadModule python_module
modules/mod_python.so
And then :
Apache DocumentRoot is "D:/webroot"
<Directory "D:/webroot/test">
        AddHandler mod_python .py
        PythonHandler mptest
        PythonDebug On 
</Directory>
I runs --> localhost/test/mptest.py
Runs ok a test
When try tu run the same file in localhost/mptest.py
The apache only prints python code in the page.
Who to run others .py files out of localhost/test, or configuring modpython
to work in all subdirectories under 
localhost structure?
Thanks in advance
Alejandro Michelin Salomon
Porto Alegre
Brasil
-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/326 - Release Date: 27/4/2006
 
-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/326 - Release Date: 27/4/2006
 |