[mod_python] python & chrooted area

Jon-Pierre Gentil jgentil at sebistar.net
Wed Dec 1 13:18:33 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Nick wrote:

>> Thank you for the advice but i have already a chrooted area and i lately
>> installed the mod_python. (to a non chrooted apache in the same
>> system). Now
>> i have to copy the /usr/local/apache/bin to the chrooted are and
>> (possibly)
>> the mod_python.so and some files from the python installation.
>>
>> Any ideas on what files?
> 
> 
> I imagine you'd need libpython2.X.so mainly just to get it running at
> all. You're going to need most if not all of the modules in
> /usr/lib/python (or perhaps in your case /usr/local/python/lib?) to do
> anything interesting.

Python itself doesn't work very well chrooted, especially with apache.
 I tried several times to get it working, but overall, python just has
too many dependancies to really successfully work in a chroot environment.

But, good luck!  Let us know if you accomplish it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iEYEAREDAAYFAkGuCvkACgkQOrVFmaIbww4MjACdFE1caafVnqlfBcBZnqlPcAAd
fAsAoKhRw4RsMSk+vBk2mXEg6nq38Ix8
=01/4
-----END PGP SIGNATURE-----


More information about the Mod_python mailing list