From owner-freebsd-questions@FreeBSD.ORG Sun Jun 22 23:19:50 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 953DA37B401 for ; Sun, 22 Jun 2003 23:19:50 -0700 (PDT) Received: from hotmail.com (law15-f25.law15.hotmail.com [64.4.23.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 336BD43FCB for ; Sun, 22 Jun 2003 23:19:50 -0700 (PDT) (envelope-from william_nova@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 22 Jun 2003 23:19:50 -0700 Received: from 138.89.139.92 by lw15fd.law15.hotmail.msn.com with HTTP; Mon, 23 Jun 2003 06:19:49 GMT X-Originating-IP: [138.89.139.92] X-Originating-Email: [william_nova@hotmail.com] From: "william nova" To: freebsd-questions@freebsd.org Date: Mon, 23 Jun 2003 02:19:49 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 23 Jun 2003 06:19:50.0173 (UTC) FILETIME=[73A26CD0:01C3394F] Subject: Problem recreating Virtual Hosts settings from Windows to BSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2003 06:19:50 -0000 I was using Apache 2 on Windows 2003 server. I had 2 virtual hosts running, using no-ip for DNS resolution along with a NO-IP referral entry for each (since my ISP blocks port 80) The virtual hosts config portion of httpd.conf looked like: NameVirtualHost * DocumentRoot "C:\Program Files\Apache Group\Apache2\htdocs\site1" ServerName site1.no-ip.com DocumentRoot "C:\Program Files\Apache Group\Apache2\htdocs\site2" ServerName site2no-ip.com Very simple. And it worked. Now I'm using Apache 1.3.27_4 on FreeBSD 4.8 I am trying to recreate the same exact configuration on my new box. It just won't work, even though the config is identical, barring the path to the files. NameVirtualHost * DocumentRoot /usr/local/www/data/site1 ServerName site1.no-ip.com DocumentRoot /usr/local/www/data/site2 ServerName site2.no-ip.com When I put the name for site2 into any browser, I get site1's index.html page. I have gone thru the Apache docs for the current version I am using, but nothing seems to be helping. It's allmost as though the settings for site2 are not even being looked at. I know that httpd itself is working, cos I am being served pages from DocumentRoot; and I know the DNS is working; does anybody have any suggestions as to what could be causing only my virtual hosts to not work on this particular configuration of Apache and OS? _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963