I'm trying to setup Django with Apache and mod_python.

I have followed the procedure described in the document "how to use
Django with mod_python", but I can't obtain a working basic (single
Django installation on the same Apache) environment, because Apache
unexpectedly crashes at each request.

It happens that a blank page (no response) is returned to the browser
when a request is made.

These strings appear in error_log:
[Thu Dec 01 11:03:47 2005] [notice] mod_python: Creating 32 session
mutexes based on 150 max processes and 0 max threads.
[Thu Dec 01 11:03:47 2005] [notice] Apache/2.0.55 (Unix)
mod_python/3.1.4 Python/2.3.5 configured -- resuming normal operations
[Thu Dec 01 11:07:12 2005] [notice] mod_python: (Re)importing module
'django.core.handlers.modpython'
[Thu Dec 01 11:07:13 2005] [notice] child pid 15299 exit signal
Segmentation fault (11)

Looking around for some pointer I have discovered that some
incompatibilities might generate this problem. It is the case (but
there are others) of embedded Python's version of expat and Apache's
linked version of expat that differ. However in my setup they are the
same.

As I have spent a lot of time on this without results, and the cause
of this bad behavior maybe is something simple for an experienced
user, I'd really love some help.

Thanks in advance!

Reply via email to