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 <gentoo-user+bounces-132357-garchives=archives.gentoo.org@lists.gentoo.org>) 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 <gentoo-user@lists.gentoo.org>; Mon, 12 Dec 2011 07:03:24 +0000 (UTC) Received: by vcbfl17 with SMTP id fl17so4037119vcb.40 for <gentoo-user@lists.gentoo.org>; 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: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> 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 <matthew.finkel@gmail.com> Date: Mon, 12 Dec 2011 02:03:02 -0500 Message-ID: <CAGF8hssVC3ChVUFCxqrtxXpNGJZy0asQLLTjRKUFOauW8DFrLQ@mail.gmail.com> 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 <syscon780@gmail.com> 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. > <Directory /> > Options FollowSymLinks > AllowOverride None > Order deny,allow > Deny from all > </Directory> > Is there a reason you're giving access to / ? > > # added below > <Directory "/var/www/localhost/htdocs"> > AllowOverride All > Order allow,deny > Allow from all > </Directory> > > <FilesMatch "^\.ht"> > Order allow,deny > Deny from all > </FilesMatch> > 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 <div class=3D"gmail_quote">On Mon, Dec 12, 2011 at 1:23 AM, Joseph <span di= r=3D"ltr"><<a href=3D"mailto:syscon780@gmail.com">syscon780@gmail.com</a= >></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 = 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br> In /etc/hosts I have:<br> 127.0.0.1 localhost.localdomain localhost <a href=3D"http://mydomain.ca" ta= rget=3D"_blank">mydomain.ca</a> syscon5<br> 10.0.0.100 <a href=3D"http://www.mydomain.ca" target=3D"_blank">www.mydomai= n.ca</a><br> <br> If I comment out: #10.0.0.100 <a href=3D"http://www.mydomain.ca" target=3D"= _blank">www.mydomain.ca</a><br> I can access this domain.<br></blockquote><div>=A0</div><div>By "acces= s", do you mean the website loads without the access restriction?</div= ><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex= ;border-left:1px #ccc solid;padding-left:1ex"> =A0</blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e= x;border-left:1px #ccc solid;padding-left:1ex"> in: modules.d/00_default_settings.<u></u>conf<br> # We configure the "default" to be a very restrictive set of feat= ures.<br> <Directory /><br> =A0 Options FollowSymLinks<br> =A0 AllowOverride None<br> =A0 Order deny,allow<br> =A0 Deny from all<br> </Directory><br></blockquote><div>=A0</div><div>Is there a reason you= 're giving access to / ?</div><div>=A0</div><blockquote class=3D"gmail_= quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1= ex"> <br> # added below<br> <Directory "/var/www/localhost/htdocs"><br> =A0 =A0 =A0 =A0AllowOverride All<br> =A0 =A0 =A0 =A0Order allow,deny<br> =A0 =A0 =A0 =A0Allow from all<br> </Directory><br> <br> <FilesMatch "^\.ht"><br> =A0 Order allow,deny<br> =A0 Deny from all<br> </FilesMatch> <br></blockquote><div><br></div><div>Do you set the Doc= umentRoot within the file to a location to which the apache user has read a= ccess?</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin= :0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> I don't know where else to look. I can not access virtual domain on por= t 80 nor on 443<br> 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.<span class=3D"HOEnZb"><font color= =3D"#888888"><br> <br> -- <br> Joseph<br> <br> </font></span></blockquote></div><div><br></div>Hope we can get this resolv= ed.<div>- Matt<br clear=3D"all"><div><br></div>-- <br>Matthew Finkel<br> </div> --20cf307f346a0e0b0404b3dfbb0f--