[mod_python] PSP returning empty result

Graham Dumpleton graham.dumpleton at gmail.com
Thu Dec 4 18:18:37 EST 2008


2008/12/5 Maelvon HAWK <maelvon.hawk at laposte.net>:
> Thanks Nicholas
>
> I've found this thread, and it give me the answer to my actual bug.
>
> I'm on a Debian 4.0 ETCH, with a downgrade of the libc6 (Because of an VIA
> C7 CPU [1] on a Dedibox server).
>
> Trying and testing to install mod_python with Apache2 & python2.5, my PSP
> file returned a white blank empty page.
>
> And I've got the package "php5-recode" installed, once removed, I throw the
> test.psp file in my browser and the "Hello World!" appears!
>
> RECIPE :
> ========
> Install of "mod_python-3.3.1":
> # wget http://ftp.wayne.edu/apache/httpd/modpython/mod_python-3.3.1.tgz
> # tar -zxvf mod_python*3.1*
> # cd mod_python-3.3.1/
> # ./configure --with-apxs=/usr/bin/apxs2 --with-python=/usr/bin/python2.5
> Remove php5-recode:
> # apt-get remove php5-recode
> Put Python2.5 as default in :
> /usr/share/python/debian_defaults
> # ln -sf /usr/bin/python2.5 /usr/bin/python
> Add the psp Handler in apache2.conf
> # apache2ctl -t
> # apache2ctl -k graceful
>
> Kenavo,
>
> Maelvon
>
> [1] Similar to the Bug 228263 in gentoo :
>        http://bugs.gentoo.org/show_bug.cgi?id=228263

Does the Apache error log indicate that the Apache child process
handling the request is crashing with a segmentation fault or similar?

Graham


More information about the Mod_python mailing list