Re: some problems with mod_python

2007-08-27 Thread Johan
On Aug 24, 3:39 pm, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > Your problem is with Apache configuration, not with mod_python. The > AddHandler directive maps /*.py to your handler. So you have to > call .py to trigger the desired behaviour. If you want > *any* url under to be handled by mp

Re: some problems with mod_python

2007-08-27 Thread Bruno Desthuilliers
Bruno Desthuilliers a écrit : > Johan a écrit : > >> Hi >> >> I have installed and tested this on centos, fedora and freebsd all >> give the same problem so I guess I missed some steps. >> >> I have compiled bot apache (2.2.4) and mod_python (3.3.1) according to >> the docs and no problem with thi

Re: some problems with mod_python

2007-08-27 Thread Bruno Desthuilliers
Johan a écrit : > Hi > > I have installed and tested this on centos, fedora and freebsd all > give the same problem so I guess I missed some steps. > > I have compiled bot apache (2.2.4) and mod_python (3.3.1) according to > the docs and no problem with this. > But when I have made everything abo

Re: some problems with mod_python

2007-08-27 Thread Graham Dumpleton
On Aug 28, 6:13 am, Johan <[EMAIL PROTECTED]> wrote: > Hi > > I have installed and tested this on centos, fedora and freebsd all > give the same problem so I guess I missed some steps. > > I have compiled bot apache (2.2.4) and mod_python (3.3.1) according to > the docs and no problem with this. >

Re: some problems with mod_python

2007-08-27 Thread Johan
On Aug 27, 10:29 pm, "Greg Donald" <[EMAIL PROTECTED]> wrote: > This is the syntax I have working locally: > > # mod_python > > AddHandler python-program .py > PythonHandler test > PythonDebug On > > > In particular my AddHandler directive is different from yours. > If I did understand the

Re: some problems with mod_python

2007-08-27 Thread Greg Donald
On 8/27/07, Johan <[EMAIL PROTECTED]> wrote: > This I added to httpd.conf > > AllowOverride All > AddHandler mod_python .py > PythonHandler mptest > PythonDebug On > This is the syntax I have working locally: # mod_python AddHandler python-program .py Python

some problems with mod_python

2007-08-27 Thread Johan
Hi I have installed and tested this on centos, fedora and freebsd all give the same problem so I guess I missed some steps. I have compiled bot apache (2.2.4) and mod_python (3.3.1) according to the docs and no problem with this. But when I have made everything about testing mod_python an browse