From users-return-40486-apmail-httpd-users-archive=httpd.apache.org@httpd.apache.org Mon Apr 26 07:52:03 2004 Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 76648 invoked from network); 26 Apr 2004 07:52:03 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 26 Apr 2004 07:52:03 -0000 Received: (qmail 21665 invoked by uid 500); 26 Apr 2004 07:51:23 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 21650 invoked by uid 500); 26 Apr 2004 07:51:23 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 21633 invoked from network); 26 Apr 2004 07:51:23 -0000 Received: from unknown (HELO web41702.mail.yahoo.com) (66.218.93.119) by daedalus.apache.org with SMTP; 26 Apr 2004 07:51:23 -0000 Message-ID: <20040426075136.28326.qmail@web41702.mail.yahoo.com> Received: from [61.120.158.82] by web41702.mail.yahoo.com via HTTP; Mon, 26 Apr 2004 00:51:36 PDT Date: Mon, 26 Apr 2004 00:51:36 -0700 (PDT) From: Martin Ansant To: users@httpd.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] vhost gone mad X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi there, I've tried to google this but could not find an unswer. Running apache2, apache2.conf : ---------------------------------------- ServerRoot /etc/apache2 ServerName domain1.com LockFile /etc/apache2/apache2.lock PidFile /var/run/apache2.pid ErrorLog logs/error_log LogLevel warn DocumentRoot /var/www/domain1.com/html/ ---------------------------------------- vhosts.conf: ---------------------------------------------- NameVirtualHost * ServerName domain2.com DocumentRoot /var/www/domain2.com ---------------------------------------------- then domain2.com becomes my default domain. for instance http://domain1.com will show domain2.com http://domain2.com will also show domain2.com don't know what Im doing wrong ... Any help will be highly apreciated ... TIA. //mauro// __________________________________ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢ http://photos.yahoo.com/ph/print_splash --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org