Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 9572 invoked from network); 7 Aug 2006 00:17:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Aug 2006 00:17:02 -0000 Received: (qmail 76566 invoked by uid 500); 7 Aug 2006 00:16:52 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 76548 invoked by uid 500); 7 Aug 2006 00:16:52 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 76537 invoked by uid 99); 7 Aug 2006 00:16:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Aug 2006 17:16:52 -0700 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [209.73.178.153] (HELO web60425.mail.yahoo.com) (209.73.178.153) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 06 Aug 2006 17:16:51 -0700 Received: (qmail 43244 invoked by uid 60001); 7 Aug 2006 00:16:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=mn39izqaQTA377EytAtOC2Yf76/adkmcmSxeRuCnRHKnJ4qMC9gakJ43E4mPHGdHeZ6WNulYL7Ewd7wUscU1LCspr1iisJ3A1hZBR19r/KoXU0x/z60moOHmrr6xnBUZnN1Q/IYaDuob0vGOh1k0s73pynMrO+GG18lqr5rOTNg= ; Message-ID: <20060807001630.43242.qmail@web60425.mail.yahoo.com> Received: from [71.212.75.80] by web60425.mail.yahoo.com via HTTP; Sun, 06 Aug 2006 17:16:30 PDT Date: Sun, 6 Aug 2006 17:16:30 -0700 (PDT) From: David Blomstrom To: users@httpd.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1707929200-1154909790=:41558" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Virtual Hosts on a Mac - Almost There X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0-1707929200-1154909790=:41558 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I'm trying to set up Apache virtual hosts on my new MacBook Pro, and I think I'm almost there, but I'm hitting a snag somewhere. I get the standard Apache greeting when I type http://localhost/ into my browser, but I when I type in the name of one of my websites - http://Geobop/ - it defaults to my ONLINE website, www.geobop.org. Here are the steps I followed... I copied my websites from my PC, locating them at /Library/Webserver/Documents. The site I'm experimenting with is at /Library/Webserver/Documents/Geobop. I copied my httpd.conf file to my Desktop, modified it with TextEdit, then used Terminal to copy it back to its original location (/private/etc/httpd), so it now looks like this: NameVirtualHost *:80 ServerName Geobop ServerAlias Geobop *.Geobop DocumentRoot /Library/Webserver/Documents/Geobop I also opened NetInfo Manager and added Geobop under "machines". So under machines, I now have the following... broadcasthost Geobop localhost XAMPP (which I'll try to delete) In the bottom window, Geobop and localhost both register 127.0.0.1 for ip_address, ./local for "serves." I thought the problem might relate to PHP, as Geobop's home page is index.php. But I copied a file named index.html into the folder, with the same results. Any idea where I went wrong? Thanks. --------------------------------- How low will we go? Check out Yahoo! Messenger�s low PC-to-Phone call rates. --0-1707929200-1154909790=:41558 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I'm trying to set up Apache virtual hosts on my new MacBook Pro, and I think I'm almost there, but I'm hitting a snag somewhere. I get the standard Apache greeting when I type http://localhost/ into my browser, but I when I type in the name of one of my websites - http://Geobop/ - it defaults to my ONLINE website, www.geobop.org.

Here are the steps I followed...

I copied my websites from my PC, locating them at /Library/Webserver/Documents. The site I'm experimenting with is at /Library/Webserver/Documents/Geobop.

I copied my httpd.conf file to my Desktop, modified it with TextEdit, then used Terminal to copy it back to its original location (/private/etc/httpd), so it now looks like this:

NameVirtualHost *:80

<VirtualHost *:80>
ServerName Geobop
ServerAlias Geobop *.Geobop
DocumentRoot /Library/Webserver/Documents/Geobop
</VirtualHost>

I also opened NetInfo Manager and added Geobop under "machines". So under machines, I now have the following...

broadcasthost
Geobop
localhost
XAMPP (which I'll try to delete)

In the bottom window, Geobop and localhost both register 127.0.0.1 for ip_address, ./local for "serves."

I thought the problem might relate to PHP, as Geobop's home page is index.php. But I copied a file named index.html into the folder, with the same results.

Any idea where I went wrong? Thanks.


How low will we go? Check out Yahoo! Messenger�s low PC-to-Phone call rates. --0-1707929200-1154909790=:41558--