From owner-freebsd-questions@FreeBSD.ORG Thu Nov 2 22:00:11 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 89D4416A47B for ; Thu, 2 Nov 2006 22:00:11 +0000 (UTC) (envelope-from waspking2003@yahoo.com) Received: from web37205.mail.mud.yahoo.com (web37205.mail.mud.yahoo.com [209.191.85.124]) by mx1.FreeBSD.org (Postfix) with SMTP id DC94B43D46 for ; Thu, 2 Nov 2006 22:00:10 +0000 (GMT) (envelope-from waspking2003@yahoo.com) Received: (qmail 10931 invoked by uid 60001); 2 Nov 2006 22:00:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=wBzpVt5t3iJerkvbmlbxjb1ZVpqMiJOulEOzh0nEMUlzbxu05XSZiQw7+HQy915hl0e8thg1j2fR2YYc0SL2LtgDi5wrxyvgAabx81+LXT8M8chPBn6+RBy3JZcUicERySc9luUThvs4nx4rmcXPT8RoJ0JXmjgqtV86uXq8AZA= ; Message-ID: <20061102220009.10929.qmail@web37205.mail.mud.yahoo.com> Received: from [35.8.148.10] by web37205.mail.mud.yahoo.com via HTTP; Thu, 02 Nov 2006 14:00:09 PST Date: Thu, 2 Nov 2006 14:00:09 -0800 (PST) From: Wasp King To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: vhost does not work Apache2.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 22:00:11 -0000 I did a clean install of FreeBSD 6.1 (from CD), then installed Apache2.2 using ports. Apache works fine if I donot change anything in the config files (all it says is "it works!")...however, 1). if I change the line DocumentRoot "/usr/local/www/apache22/data" to DocumentRoot "/usr/home/user1/www" (and disable the above line with # in front of cours), then it shows the message "Forbidden You don't have permission to access / on this server." this is despite the dirs has the right permissions. 2). I can move all the contents under /user1/www to /usr/local/www/apache22/data and then it works fine...howver, if I enable the vhosts, by activating the line in httpd.conf: Include etc/apache22/extra/httpd-vhosts.conf then I get the same error! I did not have any problems with Apache 2.0 on a different FreeBSD (4.2) server...I think on that one I did not use the vhosts option but put all the virtual hosts in the httpd.conf file though. This is very confusing to me... __________________________________________________________________________________________ Check out the New Yahoo! Mail - Fire up a more powerful email and get things done faster. (http://advision.webevents.yahoo.com/mailbeta)