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

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 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 Order deny,allow Satisfy all AddHandler mo

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 Order deny,allow Satisfy all AddHandler mod_python .py Pyth

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 > > Foundation/Apache2.2/htdocs/Test"> > Order deny,allow > Satisfy all > AddHandl

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 ass

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 othe

[EMAIL PROTECTED] Testing Python Mod

2007-08-31 Thread Chris Howell
Hi All, So in regards to a follow up on my last post. I found this page at. http://www.dscpl.com.au/wiki/ModPython/Articles/GettingModPythonWorking Which describes how to get the python mod working for apache and I changed it around so that I was no longer trying to access it globally. My .h