From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HJvNx-0004kj-2B for garchives@archives.gentoo.org; Wed, 21 Feb 2007 17:36:09 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l1LHYwmc003677; Wed, 21 Feb 2007 17:34:58 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l1LHShbC027537 for ; Wed, 21 Feb 2007 17:28:43 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 65DCF6400B for ; Wed, 21 Feb 2007 17:28:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.068 X-Spam-Level: X-Spam-Status: No, score=-2.068 required=5.5 tests=[AWL=0.396, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id elomXuvmi+Yp for ; Wed, 21 Feb 2007 17:28:34 +0000 (UTC) Received: from bullet.espersunited.com (adsl-70-234-122-249.dsl.tul2ok.sbcglobal.net [70.234.122.249]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 3970D64A42 for ; Wed, 21 Feb 2007 17:28:33 +0000 (UTC) Received: from [70.234.122.250] (camille.espersunited.com [70.234.122.250]) by bullet.espersunited.com (8.13.7/8.13.7) with ESMTP id l1LHSVPu019844 for ; Wed, 21 Feb 2007 11:28:32 -0600 Subject: [gentoo-user] OT - Need help setting up a name-based virtual host in Apache From: Michael Sullivan To: gentoo-user Content-Type: text/plain Date: Wed, 21 Feb 2007 11:28:31 -0600 Message-Id: <1172078911.11148.17.camel@camille.espersunited.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.8.2.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 1ceed948-daba-4ac4-825e-ba2d368397b2 X-Archives-Hash: e217862bf91cfdbc5b74a85aec9a2b0e I hope this email gets to the list. My last post didn't. This is semi-urgent. Over the past year I've been developing a PHP-based web interface for my college's music festival. This web interface would allow participating directors to enter all their information via the Internet, rather than having to send it to us and having us do all the work. The interface is now ready for widespread use (as opposed to the handful of directors I've had testing it and returning feedback.) The problem is this: The web address of the interface is http://camille.espersunited.com/~festival . I want to them to be able to use http://festival.espersunited.com because it's easier to remember (some of them don't remember that they have bookmarks.) I created a file in /etc/apache2/vhosts.d for this: camille vhosts.d # cat 01_festival_vhost.conf ServerName festival.espersunited.com DocumentRoot /home/festival/webspace/html Options Indexes FollowSymLinks Order allow,deny Allow from all >>From the information I can find for what I'm trying to do, this seems to be the correct syntax. I set up a CNAME record in my espersunited.com DNS configuration to point festival.espersunited.com at camille.espersunited.com . However, when I reloaded apache2 and went to http://festival.espersunited.com, instead of seeing the interface at /home/festival/webspace/html/index.php, I saw /var/www/localhost/htdocs/index.html . Is something wrong with my config? Please help! -Michael Sullivan- -- gentoo-user@gentoo.org mailing list