PDA

View Full Version : Running 2 apache2 instances with 1chrooted with mod_chroot


mess-mate
12th April 2008, 17:40
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

falko
13th April 2008, 21:14
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.