From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ra0Bo-0007Hn-PB for garchives@archives.gentoo.org; Mon, 12 Dec 2011 07:20:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BDF8D21C374; Mon, 12 Dec 2011 07:20:35 +0000 (UTC) Received: from mail.shawcable.com (shawmail.shawcable.com [64.59.128.220]) by pigeon.gentoo.org (Postfix) with ESMTP id 32F1121C065 for ; Mon, 12 Dec 2011 07:19:36 +0000 (UTC) Received: from bpd2mi1no-svcs.prod.shawcable.com ([10.0.184.120]) by bpd2mo2no-ssvc.prod.shawcable.com with ESMTP; 12 Dec 2011 00:19:36 -0700 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=rhzBfl3TH6jSClqh7E8qe//hARbvbzCI0ETuu7/2kJU= c=1 sm=1 a=wom5GMh1gUkA:10 a=uD4h9zeBd2cA:10 a=nDghuxUhq_wA:10 a=BLceEmwcHowA:10 a=8nJEP1OIZ-IA:10 a=dgx804EzjhD8CRYpIFkhZA==:17 a=pGLkceISAAAA:8 a=2aTBRr3RAAAA:8 a=denY1xJhNZw-wub3DBsA:9 a=Ya1JI_SrSYTKWDV8oQ8A:7 a=wPNLvfGTeEIA:10 a=MSl-tDqOz04A:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-IronPort-AV: E=Sophos;i="4.71,337,1320649200"; d="scan'208";a="634018561" Received: from unknown (HELO bpd2mi1no-cmts.prod.shawcable.com) ([192.168.183.120]) by bpd2mi1no-cmts.prod.shawcable.com with ESMTP; 12 Dec 2011 00:19:36 -0700 X-reinject: true Received: from unknown (HELO syscon4.localdomain) ([68.148.245.78]) by bpd2mi1no-dmz.prod.shawcable.com with ESMTP; 12 Dec 2011 00:19:36 -0700 Received: by syscon4.localdomain (Postfix, from userid 1000) id BF6211CD191; Mon, 12 Dec 2011 00:21:27 -0700 (MST) Date: Mon, 12 Dec 2011 00:21:27 -0700 From: Joseph To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] [SOLVED] apache - virtual host not working Message-ID: <20111212072127.GN3810@syscon4.inet> References: <20111212062356.GM3810@syscon4.inet> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: b84abed1-745c-4b13-950c-118d728105a5 X-Archives-Hash: 3c59e01405773a0e35118d5a6dab8ad2 On 12/12/11 02:03, Matthew Finkel wrote: > On Mon, Dec 12, 2011 at 1:23 AM, Joseph wrote: > > In /etc/hosts I have: > 127.0.0.1 localhost.localdomain localhost mydomain.ca syscon5 > 10.0.0.100 www.mydomain.ca > > If I comment out: #10.0.0.100 www.mydomain.ca > I can access this domain. > > > By "access", do you mean the website loads without the access restriction? > > > > > in: modules.d/00_default_settings.conf > # We configure the "default" to be a very restrictive set of features. > > Options FollowSymLinks > AllowOverride None > Order deny,allow > Deny from all > > > > Is there a reason you're giving access to / ? No the above statement actually prevent access, am I correct? Thanks folks, SOLVED! Another lesson learned. I went for easy way out, tar.gz /var/* directory copy it to another machine. Mistake #1 Extracted the file on the other machine as user (mistake #1) all the owner ship of file got changed to joseph:joseph Mistake #2 I use "meld" to compare the directors and copy missing files and directories to the destination machine. Meld - does not preserve owner-ship either. The reason it didn't work as .htaccess file were changed to owner ship root:root and it should be apache:apache. So the solution was to use "rsync -av" it preserver owner ship and permission :-/ Another lessor learned! -- Joseph