From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JYpr7-0005Wo-Tw for garchives@archives.gentoo.org; Mon, 10 Mar 2008 21:48:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A90EFE06BF; Mon, 10 Mar 2008 21:48:24 +0000 (UTC) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by pigeon.gentoo.org (Postfix) with ESMTP id DDBE3E06BF for ; Mon, 10 Mar 2008 21:48:23 +0000 (UTC) Received: by wr-out-0506.google.com with SMTP id 76so993714wra.10 for ; Mon, 10 Mar 2008 14:48:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=rBwSrYgEhoozONzqMI/buqUHgl1SJ2iX7nvTOadzr28=; b=khvA132YBXqFA3QdaprntM9Hkd90nr3dYXCwMqzFUDtpkSbb1c1uhbQ1AxCfVAbEDjXAdCb3viXtYE7QK9UFaQBOg3cM/dKMvDYdcR8OsIbbvYWmvZmtHzeFB6i9EWOAxJLn7HN1d7psWCsr/pDUAgL/8s5uSoTOjugOGfPIqFM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HJlrd2eTCTff8ajg6uxheeMlpN5vYVrxqCfUaOKH3xueC+4NUsQDSgb2Ns5H0E1ORv2ewadOuBfO7bBVfJ6Z8tlwJFRALvbRh8deTzKyiKS/3cnEmAuJUNH0kmJyS5vtdsXra9ZHjHfooO6e6oQqfaYMus1g3aX6RJPwpvfQx0c= Received: by 10.140.133.16 with SMTP id g16mr3623990rvd.231.1205185699967; Mon, 10 Mar 2008 14:48:19 -0700 (PDT) Received: by 10.141.27.5 with HTTP; Mon, 10 Mar 2008 14:48:19 -0700 (PDT) Message-ID: <5ac9cdd10803101448l6ca1fe02t77dad68dfda71704@mail.gmail.com> Date: Mon, 10 Mar 2008 22:48:19 +0100 From: "Frederik 'Freso' S. Olesen" To: gentoo-web-user@lists.gentoo.org Subject: Re: [gentoo-web-user] apache vhost issue... In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-web-user@lists.gentoo.org Reply-to: gentoo-web-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Archives-Salt: 147e6530-60d1-4447-ade1-9eaa1277b0e7 X-Archives-Hash: ccbac8a0a0eba4e5a5df664849a3bccf 2008/3/9, Elyahou ITTAH : >in /etc/conf.d/apache2: >APACHE2_OPTS="-D DEFAULT_VHOST -D SSL -D INFO -D LANGUAGE -D PHP5 -D USERDIR" > ># ls -l /var/www >total 8 >drwxr-xr-x 4 apache apache 4096 mar 9 02:20 helpermaster.fr >drwxr-xr-x 6 root root 4096 mar 8 22:12 localhost > ># cat /etc/apache2/vhosts.d/01_vhost1.conf > >ServerName helpermaster.fr >ServerAlias helpermaster.fr >DocumentRoot "/var/www/helpermaster.fr/htdocs" > > Options Indexes FollowSymLinks > AllowOverride All > Order allow,deny > Allow from all > > > > >But when I type helpermaster.fr on my browser, i receive the >www/localhost pages and no the www/helpermaster.fr pages... Did you restart the server? What does Apache's error log(s) say? Also, if you want to access the domain with "www.", you should replace your ServerAlias with "ServerAlias www.helpermaster.fr". -- Frederik 'Freso' S. Olesen -- gentoo-web-user@lists.gentoo.org mailing list