Yes, the DocumentRoot ones I know that are because of the chroot. But the VirtualHosts warnings shoulnt appear, and yes, it is working correctly.
-----Mensagem original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Stuart Henderson Enviada: sexta-feira, 16 de Maio de 2008 12:55 Para: misc@openbsd.org Assunto: Re: Problems with apache vhosts On 2008-05-16, Pedro de Oliveira <[EMAIL PROTECTED]> wrote: > Everything works as expected, but when I do a apachectl configtest I > get the > following: > > Warning: DocumentRoot [/htdocs] does not exist > Warning: DocumentRoot [/htdocs/stats] does not exist > Warning: DocumentRoot [/htdocs/blog] does not exist These are because of the chroot handling. You can just use the full path /var/www/htdocs in the config file, httpd will do the right thing. > [Fri May 16 12:03:50 2008] [warn] VirtualHost *:80 overlaps with > VirtualHost *:80, the first has precedence, perhaps you need a > NameVirtualHost directive These are probably bogus warnings, the vhosts almost certainly still function correctly.