How to get jailed apache to access a virtualhost in a user jail outside apache jail?

Discussion in 'Apache' started by jtillwick, Jun 22, 2006.

  1. #1
    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?
     
    jtillwick, Jun 22, 2006 IP
  2. gn77

    gn77 Peon

    Messages:
    58
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    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..
     
    gn77, Jun 23, 2006 IP