Running 2 apache2 instances with 1chrooted with mod_chroot

Discussion in 'Server Operation' started by mess-mate, Apr 12, 2008.

  1. mess-mate

    mess-mate New Member

    Hi Falko,
    is it possible to run 2 apache2 instances like this:
    1- /var/www for internal
    2- /other for chooted external webserver access ?
    The goal is to isolate the site from outside to inside .
    Best Regards
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Should be possible. Instead of adding the ChrootDir directive to the global Apache configuration, you can add it to the vhost you want to chroot. But I haven't tried this.
     

Share This Page