I have apache set up in a jail. Let's say it is located at /chroot/http. I also have individual jails for all my ssh users, let's say they are located at /chroot/users/user1 and /chroot/users/user2 respectively. Well, I have a dilemma... How can I allow my ssh users to have web sites in their jails and get apache to serve them? Seems to me that FastCgiExternalServer should be able to help me with this. However, all the documentation for what I am trying to do that I can find is for lighttpd. So, how can I do this with apache? Is it even possible?
Perhaps you can include all user directories in apache jail.. e.g. /chroot/http for apache, and /chroot/http/users/user1, /chroot/http/users/user2 etc for user ssh.. Though I have never tried this.. so not sure if it will work or not..