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 1RZzwz-0001VQ-AI for garchives@archives.gentoo.org; Mon, 12 Dec 2011 07:05:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 25D4321C364; Mon, 12 Dec 2011 07:05:12 +0000 (UTC) Received: from mail-vx0-f181.google.com (mail-vx0-f181.google.com [209.85.220.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 0351221C0EF for ; Mon, 12 Dec 2011 07:03:24 +0000 (UTC) Received: by vcbfl17 with SMTP id fl17so4037119vcb.40 for ; Sun, 11 Dec 2011 23:03:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=FAkSYiKe9iD8ST227WoT6OGcaD3n1XgCy7LuoLMchOk=; b=Q2ZT5BtLGaUj2d6hfWF5DeXl+kKMmIV+tKn2hVaoGSyNfRofFf2428yXJo1vG8XxNV 2/Mkqc+vhcATLFXSL9w/5sye+riFOlRvk4lbPCcIaMPr3OjheskJCYgtktMTgFuVkxSs sAtLwyLWBN4WlzePTuf7NZlYMB35dwHaslFFY= Received: by 10.52.97.34 with SMTP id dx2mr9330506vdb.3.1323673404180; Sun, 11 Dec 2011 23:03:24 -0800 (PST) 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 Received: by 10.52.187.104 with HTTP; Sun, 11 Dec 2011 23:03:02 -0800 (PST) In-Reply-To: <20111212062356.GM3810@syscon4.inet> References: <20111212062356.GM3810@syscon4.inet> From: Matthew Finkel Date: Mon, 12 Dec 2011 02:03:02 -0500 Message-ID: Subject: Re: [gentoo-user] apache - virtual host not working To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=20cf307f346a0e0b0404b3dfbb0f X-Archives-Salt: 30c60ed0-0498-4df4-8545-3b7c0ca3c64e X-Archives-Hash: 2898b8fb60bffcb28831522d8696c2c8 --20cf307f346a0e0b0404b3dfbb0f Content-Type: text/plain; charset=ISO-8859-1 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 / ? > > # added below > > AllowOverride All > Order allow,deny > Allow from all > > > > Order allow,deny > Deny from all > > Do you set the DocumentRoot within the file to a location to which the apache user has read access? > I don't know where else to look. I can not access virtual domain on port > 80 nor on 443 > The server is working perfectly on my other computer running the same > version of apache. As stated earlier I've compare configuration file with > meld so I'm sure there are no mistakes. > > -- > Joseph > > Hope we can get this resolved. - Matt -- Matthew Finkel --20cf307f346a0e0b0404b3dfbb0f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Mon, Dec 12, 2011 at 1:23 AM, Joseph <syscon780@gmail.com> wrote:

In /etc/hosts I have:
127.0.0.1 localhost.localdomain localhost
mydomain.ca syscon5
10.0.0.100 www.mydomai= n.ca

If I comment out: #10.0.0.100 www.mydomain.ca
I can access this domain.
=A0
By "acces= s", do you mean the website loads without the access restriction?
=A0
=A0
in: modules.d/00_default_settings.conf
# We configure the "default" to be a very restrictive set of feat= ures.
<Directory />
=A0 Options FollowSymLinks
=A0 AllowOverride None
=A0 Order deny,allow
=A0 Deny from all
</Directory>
=A0
Is there a reason you= 're giving access to / ?
=A0

# added below
<Directory "/var/www/localhost/htdocs">
=A0 =A0 =A0 =A0AllowOverride All
=A0 =A0 =A0 =A0Order allow,deny
=A0 =A0 =A0 =A0Allow from all
</Directory>

<FilesMatch "^\.ht">
=A0 Order allow,deny
=A0 Deny from all
</FilesMatch>

Do you set the Doc= umentRoot within the file to a location to which the apache user has read a= ccess?
=A0
I don't know where else to look. I can not access virtual domain on por= t 80 nor on 443
The server is working perfectly on my other computer running the same versi= on of apache. As stated earlier I've compare configuration file with me= ld so I'm sure there are no mistakes.

--
Joseph


Hope we can get this resolv= ed.
- Matt

--
Matthew Finkel
--20cf307f346a0e0b0404b3dfbb0f--