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 1RZztC-00085F-JX for garchives@archives.gentoo.org; Mon, 12 Dec 2011 07:01:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A90421C0C9; Mon, 12 Dec 2011 07:01:21 +0000 (UTC) Received: from smtpq4.tb.mail.iss.as9143.net (smtpq4.tb.mail.iss.as9143.net [212.54.42.167]) by pigeon.gentoo.org (Postfix) with ESMTP id 71E6F21C021 for ; Mon, 12 Dec 2011 07:00:29 +0000 (UTC) Received: from [212.54.42.135] (helo=smtp4.tb.mail.iss.as9143.net) by smtpq4.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1RZzsC-00026r-Qp for gentoo-user@lists.gentoo.org; Mon, 12 Dec 2011 08:00:28 +0100 Received: from 5ed027d6.cm-7-1a.dynamic.ziggo.nl ([94.208.39.214] helo=data.antarean.org) by smtp4.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1RZzsC-0000KA-HM for gentoo-user@lists.gentoo.org; Mon, 12 Dec 2011 08:00:28 +0100 Received: from localhost (localhost [127.0.0.1]) by data.antarean.org (Postfix) with ESMTP id 6083A2B72 for ; Mon, 12 Dec 2011 08:01:24 +0100 (CET) X-Virus-Scanned: amavisd-new at antarean.org Received: from data.antarean.org ([127.0.0.1]) by localhost (data.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8mPmKd8qETRS for ; Mon, 12 Dec 2011 08:01:23 +0100 (CET) Received: from www.antarean.org (net.antarean.org [10.10.11.5]) by data.antarean.org (Postfix) with ESMTP id 4A2F1173D for ; Mon, 12 Dec 2011 08:01:23 +0100 (CET) Received: from 62.132.204.84 (SquirrelMail authenticated user joost) by www.antarean.org with HTTP; Mon, 12 Dec 2011 08:01:23 +0100 Message-ID: <70260554894a190e6ef050966b2c6cdf.squirrel@www.antarean.org> In-Reply-To: <20111212062356.GM3810@syscon4.inet> References: <20111212062356.GM3810@syscon4.inet> Date: Mon, 12 Dec 2011 08:01:23 +0100 Subject: Re: [gentoo-user] apache - virtual host not working From: "J. Roeleveld" To: gentoo-user@lists.gentoo.org User-Agent: SquirrelMail/1.4.21 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 X-Priority: 3 (Normal) Importance: Normal Content-Transfer-Encoding: quoted-printable X-Ziggo-spambar: / X-Ziggo-spamscore: -0.5 X-Ziggo-spamreport: BAYES_40=-0.001,KHOP_DYNAMIC=0.001,RDNS_DYNAMIC=0.982,RP_MATCHES_RCVD=-1.457 X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No X-Archives-Salt: b89991ca-5bdf-4f33-bc6f-769c4810d008 X-Archives-Hash: 7ce7ac4c41ed3a0417331381f660754d On Mon, December 12, 2011 7:23 am, Joseph wrote: > Any any body provide me with hint why my "virtual host" is not working = in > apache? We'll try :) > I've copied server config files from one computer to another. Which config-files? I think apache uses the following: /etc/conf.d/apache /etc/apache/* And is apache compiled with the same USE-flags on both machines? > I used "meld" to be sure most changes are accurate but when try to acce= ss > virtual host: > I get: > Forbidden > You don't have permission to access / on this server. This is either a missing/wrong configuration, or Apache does not have access to the directory (filesystem permissions) > I don't know where else to look. > > 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. Does it work properly when you comment out this line? Is the IP-adres correct? > 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 > > > # added below > > AllowOverride All > Order allow,deny > Allow from all > > > > Order allow,deny > Deny from all > > > I don't know where else to look. I can not access virtual domain on por= t > 80 nor on 443 There is a different directory where the actual websites are configured: /etc/apache/vhosts I am missing this in your email. > The server is working perfectly on my other computer running the same > version of apache. As stated earlier I've compare configuration file wi= th > meld so I'm sure there are no mistakes. What does apache report in the logs? /var/log/apache/* -- Joost