From owner-freebsd-questions@FreeBSD.ORG Mon Jun 23 07:57:22 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 9ED8737B401 for ; Mon, 23 Jun 2003 07:57:22 -0700 (PDT) Received: from mailhost.schluting.com (spooge.kittenz.pdx.edu [131.252.211.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22B0643FBD for ; Mon, 23 Jun 2003 07:57:22 -0700 (PDT) (envelope-from charlie@schluting.com) Received: from schluting.com (host-226-74.dhcp.pdx.edu [131.252.226.74]) by mailhost.schluting.com (Postfix) with ESMTP id E6B3B2123; Mon, 23 Jun 2003 07:57:18 -0700 (PDT) Message-ID: <3EF7154E.8060407@schluting.com> Date: Mon, 23 Jun 2003 07:57:18 -0700 From: Charlie Schluting User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030619 X-Accept-Language: en-us, en MIME-Version: 1.0 To: william nova References: In-Reply-To: X-Enigmail-Version: 0.74.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: 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 14:57:22 -0000 william nova wrote: > 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 > This looks fine to me. Exactly what mine looks like.. only a few more domains. Take a look at the httpd* logs in /var/log as you try to navigate to the pages. Make sure the permissions are correct. Make sure that you aren't getting any warnings when you start httpd. Sorry, that's probably not very helpful ;) --Charlie