Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 37543 invoked from network); 4 Apr 2005 17:58:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Apr 2005 17:58:33 -0000 Received: (qmail 3975 invoked by uid 500); 4 Apr 2005 17:58:19 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 3953 invoked by uid 500); 4 Apr 2005 17:58:19 -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 3929 invoked by uid 99); 4 Apr 2005 17:58:19 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,NORMAL_HTTP_TO_IP,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of mmmilan@gmail.com designates 64.233.170.207 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.207) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 04 Apr 2005 10:58:17 -0700 Received: by rproxy.gmail.com with SMTP id c16so1526736rne for ; Mon, 04 Apr 2005 10:58:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=WmXOrpMytuJYl7Xf7UZX2EAiNcyv+lx/6A3CGYwwslUkhqrKL4WRJKAcWQU7x6DlOsjcEzsYGWTSmByMMkvdYz9EtBZX7EQ4oUGUfmZZjs0depvWDHSi5rffGmt+vGDZoGX7+ElUoj33O837fU/GjQglIuG5pIws57l9vkgNJpw= Received: by 10.38.151.1 with SMTP id y1mr5512745rnd; Mon, 04 Apr 2005 10:58:14 -0700 (PDT) Received: by 10.38.207.61 with HTTP; Mon, 4 Apr 2005 10:58:12 -0700 (PDT) Message-ID: <86e4d28e0504041058177fe7de@mail.gmail.com> Date: Mon, 4 Apr 2005 19:58:12 +0200 From: Milan Delibasic Reply-To: Milan Delibasic To: Apache lista In-Reply-To: <86e4d28e050404104362ba96d2@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <86e4d28e0504030820279fd1ed@mail.gmail.com> <86e4d28e050403082777b1817@mail.gmail.com> <20050403162134.GA32378@radu.onastick.net> <86e4d28e050404104362ba96d2@mail.gmail.com> X-Virus-Checked: Checked Subject: Re: [users@httpd] "Connection refused when attempting to contact..." with vhosts X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N That was me, I didn't write it in plain text... The vhost block actually starts with ... (so it is not a syntax error). Any other ideas? (I had a simillar configuration working before on the old machine; the only difference is that I didn't have SP2 installed then) Milan On Apr 4, 2005 7:43 PM, Milan Delibasic wrote: > Sorry for the delay, > > I have "Listen 80" written. I understand that localhost=127.0.0.1, and it works fine, but the problem is with the ip-based vhost mapped to 127.0.0.20 (in the hosts file). Just help me out with the IIRC term :)... > > Thanks anyway, > Milan > > > > On Apr 3, 2005 6:21 PM, Noah wrote: > > On Sun, Apr 03, 2005 at 05:27:45PM +0200, Milan Delibasic wrote: > > > Hi, > > > > > > I'm running apache 2.0.53 on WinXP SP2 for local testing. I haven't changed > > > the standard (shipped) http.conf except for adding (ip-based) vhosts. That > > > looks something like > > > > > > > > > > DocumentRoot "C:/apache2/htdocs/site1/www" > > > ServerName vvv.site1.co.yu > > > ErrorLog "C:/apache2/htdocs/site1/logs/error.log" > > > CustomLog "C:/apache2/htdocs/site1/logs/access.log" common > > > > > > > Assuming that's actually how you have it configured, your syntax is > > incorrect; See > > http://httpd.apache.org/docs-2.0/mod/core.html#virtualhost for the > > proper syntax for the container. > > > > > The entry vvv.site1.co.yu > > > 127.0.0.20was added to the etc\hosts file. The > > > problem is that I cannot access > > > vvv.site1.co.yu (in Mozilla I get the message > > > "Connection refused when attempting to contact > > > vvv.site1.co.yu"). > > > The same applies when I try with ip number. The "localhost" works fine. > > > > Have you configured a Listen directive for your other 127.0.0.x IP > > addresses? Note that 'localhost' is only mapped to '127.0.0.1'. Note > > also that, IIRC, you'll have to fully exit and restart your browser in > > order to it to notice the changes in the hosts file. > > > > --n > > > > -- > > dd of=/dev/fd0 if=/dev/flippy bs=1024 > > ^^^ Making Flippy Floppy > > > > > > --------------------------------------------------------------------- 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