[mod_python] Problem with --enable-threads

Garzon Maldonado, Jesus Javier jgarzon at indra.es
Mon Dec 9 10:46:42 EST 2002


Hello all:

I'm trying to configure Apache 2.0.43+mod_ssl+mod_rewrite+php4.2.3+mod_python-3.0 beta4 on a FreeBSD 4.7 machine.
According to what is said in the documentation, mod_python needs apache configured with --enable-threads, so this is what I typed to configure the source code.
./configure --prefix=/usr/local/apache2 --enable-so --enable-ssl --enable-rewrite --enable-threads

This works and I can compile and install apache, but I cannot start it. When I type ./apachectl startssl (or just start) only one process is launched:
root   23785  0.0  0.9  7064 4836  ??  Is    3:19PM   0:00.01 /usr/local/apache2/bin/httpd -k start -DSSL

But this process doesn't work, (doesn't serve html pages), and cannot be killed with ./apachectl stop

However if I do:
./configure --prefix=/usr/local/apache2 --enable-so --enable-ssl --enable-rewrite

all works fine (though I cannot use mod_python).

What am I doing wrong?

Thanks.

Javi Garzon




More information about the Mod_python mailing list