2009/7/17 Rodrigo <[email protected]> > Caros, > > O que significa estas mensagens de erro ao restartar o apache? > > User cannot occur within <VirtualHost> section > Eu comentei a linha do User e Group, aí logo em seguida restartei novamente > e gerou estes warning's: > > Performing sanity check on apache22 configuration: > [Thu Jul 16 22:16:05 2009] [warn] _default_ VirtualHost overlap on port 80, > the first has precedence > [Thu Jul 16 22:16:05 2009] [warn] _default_ VirtualHost overlap on port 80, > the first has precedence > [Thu Jul 16 22:16:05 2009] [warn] _default_ VirtualHost overlap on port 80, > the first has precedence > [Thu Jul 16 22:16:05 2009] [warn] _default_ VirtualHost overlap on port 80, > the first has precedence > [Thu Jul 16 22:16:05 2009] [warn] NameVirtualHost *:80 has no VirtualHosts > Syntax OK > Starting apache22. > [Thu Jul 16 22:16:05 2009] [warn] _default_ VirtualHost overlap on port 80, > the first has precedence > [Thu Jul 16 22:16:05 2009] [warn] _default_ VirtualHost overlap on port 80, > the first has precedence > [Thu Jul 16 22:16:05 2009] [warn] _default_ VirtualHost overlap on port 80, > the first has precedence > [Thu Jul 16 22:16:05 2009] [warn] _default_ VirtualHost overlap on port 80, > the first has precedence > [Thu Jul 16 22:16:05 2009] [warn] NameVirtualHost *:80 has no VirtualHosts > > Na verdade estou tentando testar os sites off-line (ip local), mas não > estou conseguindo. > Qual a forma de testar isso off-line? sem estar com o ip válido na > internet, por exemplo para eu testar www.meudominio.com.br localmente? > > Agradeço ajuda. > Abraço > Rodrigo. > > Boa noite Rodrigo. Bom deve está faltando a seguinte linha no seu arquivo de configuração do VirtualHost:
NameVirtualHost *:80 Posta sua configuração. Para testar local você pode configurar o arquivo /etc/hosts ou um servidor DNS configurado. ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

