Re: [EMAIL PROTECTED] Testing Python Mod

2007-09-04 Thread Chris Howell
Brian Munroe wrote: On 8/31/07, Chris Howell [EMAIL PROTECTED] wrote: AddHandler python-program .py PythonHandler mptest PythonDebug On Chris: I would suggest you use the Publisher mod_python handler, at least to get started. Here is a simple hello, world in mod_python. I

Re: [EMAIL PROTECTED] Testing Python Mod

2007-09-04 Thread Brian Munroe
On 9/4/07, Chris Howell [EMAIL PROTECTED] wrote: Brian: I made the modifications you suggested my httpd conf file now has this entry in it. LoadModule python_module modules/mod_python.so Directory C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Test Order deny,allow

Re: [EMAIL PROTECTED] Testing Python Mod

2007-09-04 Thread Chris Howell
Brian Munroe wrote: On 9/4/07, Chris Howell [EMAIL PROTECTED] wrote: Brian: I made the modifications you suggested my httpd conf file now has this entry in it. LoadModule python_module modules/mod_python.so Directory C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Test

Re: [EMAIL PROTECTED] Testing Python Mod

2007-09-04 Thread Chris Howell
Chris Howell wrote: Brian Munroe wrote: On 9/4/07, Chris Howell [EMAIL PROTECTED] wrote: Brian: I made the modifications you suggested my httpd conf file now has this entry in it. LoadModule python_module modules/mod_python.so Directory C:/Program Files/Apache Software

Re: [EMAIL PROTECTED] Testing Python Mod

2007-09-04 Thread Dragon
Chris Howell wrote: Yes I have set it up to listen on port 9000 and everything works fine. I fixed the 404 error. This is the error I am getting now. MOD_PYTHON ERROR ProcessId: 2932 Interpreter:'192.168.0.42' ServerName: '192.168.0.42' DocumentRoot: 'C:/Program Files/Apache

Re: [EMAIL PROTECTED] Testing Python Mod

2007-09-04 Thread Brian Munroe
On 9/4/07, Dragon [EMAIL PROTECTED] wrote: You cannot have any indentation on line 1 of your script as that is the top level of coade and must have zero indentation until you enter a new code block with a different execution scope. Anyway, this is not an Apache issue any longer, you should

Re: [EMAIL PROTECTED] Testing Python Mod

2007-08-31 Thread Brian Munroe
On 8/31/07, Chris Howell [EMAIL PROTECTED] wrote: AddHandler python-program .py PythonHandler mptest PythonDebug On Chris: I would suggest you use the Publisher mod_python handler, at least to get started. Here is a simple hello, world in mod_python. I assume you fixed your other