Configuring apache to execute python scripts using mod_python handler

2010-02-12 Thread Juan Carlos Rodriguez
I configured apache to execute python scripts using mod_python handler. I followed below mentioned steps to configure apache. 1. In http.conf I added Directory D:/softwares/Apache2.2/htdocs AddHandler mod_python .py PythonHandler mptest PythonDebug On /Directory 2. Then I added the

Re: Configuring apache to execute python scripts using mod_python handler

2010-02-12 Thread Kev Dwyer
On Fri, 12 Feb 2010 13:08:59 -0400, Juan Carlos Rodriguez wrote: Hello Juan Carlos, You're better off raising this on the mod_python list, however... Python is looking for a module called mptest, and cannot find it. Have you created the mptest.py module? (It should contain the handler function

Configuring apache to execute python scripts using mod_python handler

2007-08-13 Thread joe jacob
I configured apache to execute python scripts using mod_python handler. I followed below mentioned steps to configure apache. 1. In http.conf I added Directory D:/softwares/Apache2.2/htdocs AddHandler mod_python .py PythonHandler mptest PythonDebug On /Directory 2. Then I added the

Re: Configuring apache to execute python scripts using mod_python handler

2007-08-13 Thread [EMAIL PROTECTED]
Hi Joe You'd probably have better luck posting this to the mod python mailing list. Did you name your python script mptest.py and did you remember to restart Apache when you edited the httpd.conf file? If so then I don't see any reason why it shouldn't work although I've never tried mod_python

Re: Configuring apache to execute python scripts using mod_python handler

2007-08-13 Thread 7stud
On Aug 13, 5:16 am, joe jacob [EMAIL PROTECTED] wrote: I configured apache to execute python scripts using mod_python handler. I followed below mentioned steps to configure apache. 1. In http.conf I added Directory D:/softwares/Apache2.2/htdocs AddHandler mod_python .py PythonHandler

Re: Configuring apache to execute python scripts using mod_python handler

2007-08-13 Thread joe jacob
On Aug 13, 9:44 pm, 7stud [EMAIL PROTECTED] wrote: On Aug 13, 5:16 am, joe jacob [EMAIL PROTECTED] wrote: I configured apache to execute python scripts using mod_python handler. I followed below mentioned steps to configure apache. 1. In http.conf I added Directory