httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Max Dittrich)
Subject Re: [users@httpd] apache with mod_ssl and php in a chrooted environment?
Date Fri, 26 Mar 2004 18:53:36 GMT

Joseph Oaks wrote:

> Thanks Max, when I did the ldd, I put everything in the same dirs as
> they were on the real system. However someone else suggested I put 
> the kerberos libs in the chroot's /lib. 

Sure, '/lib' and '/usr/lib' are the default directories searched by the 
linker BTW setting LD_LIBRARY_PATH at execution time or 
LD_RUN_PATH at compile time to '/use/kerberos/lib' would have been 
another solution.

>                                         This worked, my only problem
> now is that the chroot is not recognizing the /etc/passwd files. I'm
> working it out though. BTW great idea about the, I will 
> check that out, that may be part of my problem with the passwd file
> too.

See this HOWTO about setting up a chrooted apache installation

I used it as a nice starting point some years ago. It mentions the need 
for /lib/libnss_***.so (/etc/nsswitch.conf!) and /lib/

> Note: The libresolv library will be needed as well (This will become
> evident when PHP is installed).


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message