Question re: PyApache

Gerhard Häring gerhard.nospam at bigfoot.de
Mon Jun 25 14:15:29 EDT 2001


On Mon, 25 Jun 2001 02:38:13 GMT, Ken <ken_chiba at hotmail.com> wrote:
>Hi,
>
>I was wondering if anyone out there has any experience with PyApache
>(python embedding module for Apache 1.3.x).  I installed it, and it IS
>running (using the DSO module).  However, I wanted to make sure it was
>running off python 2.1 (/usr/lib/python2.1/) instead of the old distro
>version (/usr/lib/python1.5).
>
>Is there an easy way to find out?

print sys.version no a HTML page generated by PyApache?

>And if it is running off 1.5.2, is there a way to switch it over?

I don't know about PyApache, but hacking the Makefile to find the correct
Python headers and libraries always helps in such cases.

Gerhard

PS: modpython and modsnake are newer attempts at integrating Python
interpreters into Apache. PyApache has some memory leaking problems, IIRC.
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://highqualdev.com              public key at homepage
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))



More information about the Python-list mailing list