I recently installed mod_chroot on a webserver that I am developing. I have managed to configure it and am able to see my test virtualhost site.
However, when I attempt to do a /etc/init.d/apache2 restart I receive the error message:
apache2Warning: DocumentRoot [/test.com/www/] does not exist
... waiting Warning: DocumentRoot [/test.com/www/] does not exist
It seems to me like apache is looking in the wrong place when it does this check. It obviously knows where to look when I try to access the site.
Which config file / what do I need to edit so that the check knows where to look?
(Ordinarily It wouldn't matter since the thing works ... but I'd rather not see an error come up every time I restart apache for each and every virtualhost. This would make troubleshooting a nightmare)
Thanks in advance for any suggestions and let me know if you need any more info.