Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 91200 invoked from network); 16 Mar 2007 14:33:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Mar 2007 14:33:54 -0000 Received: (qmail 44933 invoked by uid 500); 16 Mar 2007 14:33:49 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 44907 invoked by uid 500); 16 Mar 2007 14:33:49 -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: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 44896 invoked by uid 99); 16 Mar 2007 14:33:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2007 07:33:49 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2007 07:33:37 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HSDUa-00043t-Sm for users@httpd.apache.org; Fri, 16 Mar 2007 07:33:16 -0700 Message-ID: <9515650.post@talk.nabble.com> Date: Fri, 16 Mar 2007 07:33:16 -0700 (PDT) From: bbxrider To: users@httpd.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: bbxrider@job1data.com References: <9490024.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] RE: can't get virtual host working thanks for the replies, turns out it was a very sublte and sneaky problem. i had the path stmt incorrect for the error log directive should have been C:/apache2/logs/......, instead of C:/apache2/log/...... and that made the difference. it was strange because usually apache complains about a bad path statement in the startup, and the httpd -S and -f didn't seem to indicate any problems. bbxrider Boyle Owen wrote: > >> -----Original Message----- >> From: bbxrider [mailto:bbxrider@job1data.com] >> Sent: Thursday, March 15, 2007 9:05 AM >> To: users@httpd.apache.org >> Subject: [users@httpd] can't get virtual host working >> >> >> i am running apache 2.2.4 on winxp pro, the apache machine is >> on my lan >> behind a router and nothing else >> please see my directives for my .conf file below, at least >> the ones that >> seem to pertain to virtual host. >> when a browser is addressed to either domain, the default >> page from htdocs >> is returned, not the domain page, try it! >> you will see my dir structure in the virtual host directives. >> also below is the output from httpd -S which looks ok to me, >> ok to a first >> apache install newbie >> i've tried many variations on the ip addr instead of *, like >> the local lan >> addr, 127.0.0.1, etc >> any ideas to try from here?? > > Go to http://httpd.apache.org/docs/2.2/vhosts/name-based.html and read > the box titled "Main host goes away"... > > Basically, you need to wrap your "default" host in a VH container. > > Rgds, > Owen Boyle > Disclaimer: Any disclaimer attached to this message may be ignored. >> >> VirtualHost configuration: >> wildcard NameVirtualHosts and _default_ servers: >> *:80 is a NameVirtualHost >> default server www.mywarmbeach.com (C:/apache2/conf/httpd.conf:228) >> port 80 namevhost www.mywarmbeach.com (C:/apache2/conf/httpd.conf:228) >> port 80 namevhost www.job1data.com (C:/apache2/conf/httpd.conf:237) >> Syntax OK >> >> ServerRoot "C:/apache2" >> Listen 80 >> DocumentRoot "C:/apache2/htdocs" >> >> Options Indexes FollowSymLinks >> AllowOverride None >> Order allow,deny >> Allow from all >> >> NameVirtualHost *:80 >> >> ServerAdmin bbxrider@job1data.com >> DocumentRoot C:/apache2/htdocs/mywarmbeach >> DirectoryIndex index.html index.htm >> ServerName www.mywarmbeach.com >> ServerAlias mywarmbeach.com *.mywarmbeach.com >> ErrorLog C:/apache2/log/www.mywarmbeach-error_log >> # CustomLog C:/apache2/log/www.mywarmbeach-access_log >> >> >> ServerAdmin bbxrider@job1data.com >> DocumentRoot C:/apache2/htdocs/job1data >> DirectoryIndex index.html index.htm >> ServerName www.job1data.com >> ServerAlias job1data.com *.job1data.com >> ErrorLog C:/apache2/log/www.job1data-error_log >> # CustomLog C:/apache2/log/www.mywarmbeach-access_log >> >> >> >> -- >> View this message in context: >> http://www.nabble.com/can%27t-get-virtual-host-working-tf34068 > 65.html#a9490024 >> Sent from the Apache HTTP Server - Users mailing list archive >> at Nabble.com. >> >> >> --------------------------------------------------------------------- >> 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 >> > > > This message is for the named person's use only. It may contain > confidential, proprietary or legally privileged information. No > confidentiality or privilege is waived or lost by any mistransmission. If > you receive this message in error, please notify the sender urgently and > then immediately delete the message and any copies of it from your system. > Please also immediately destroy any hardcopies of the message. You must > not, directly or indirectly, use, disclose, distribute, print, or copy any > part of this message if you are not the intended recipient. The sender's > company reserves the right to monitor all e-mail communications through > their networks. Any views expressed in this message are those of the > individual sender, except where the message states otherwise and the > sender is authorised to state them to be the views of the sender's > company. > > --------------------------------------------------------------------- > 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 > > > -- View this message in context: http://www.nabble.com/can%27t-get-virtual-host-working-tf3406865.html#a9515650 Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- 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