I am running a development Macbook Pro without the Snow Leopard Server software. I have Wordpress and some other test sites running with MAMP and Wordpress-MU with sub-domains running under Apple Apache2/PHP. The MAMP listens on port 8888 and the Apple Wordpress-MU has to listen on port 80. Here is how I configured it:
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
127.0.0.1 phpMyAdmin # phpMyAdmin - Apple
127.0.0.1 wpmu # WordpressMU - Apple
127.0.0.1 user1.wpmu # WordpressMU - Apple (add more as needed)
127.0.0.1 localhost2 # Wordpress - MAMP
127.0.0.1 localhost3 # bbpress - MAMP
127.0.0.1 localhost4 # drupal - MAMP
127.0.0.1 localhost5 # joomla - MAMP
127.0.0.1 localhost6 # YouTubeVideoBrowser (Google) - MAMP
127.0.0.1 localhost7 # YouTubeVideoApp (Google) - MAMP
127.0.0.1 localhost8 # Books Data API Browser in PHP (Google) - MAMP
127.0.0.1 localhost9 # osCommerce - MAMP
127.0.0.1 localhost10 # Calendar.php - MAMP
127.0.0.1 localhost11 # GoggleBaseDataApi - MAMP
127.0.0.1 localhost12 # EBayAPI - MAMP
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
The Apple httpd-vhosts.conf file: (there is a different one for MAMP)
<VirtualHost *:80>
DocumentRoot "/Users/frankindelicato/Sites"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /Users/frankindelicato/Sites/phpMyAdmin
ServerName phpMyAdmin
</VirtualHost>
# Wildcard domain *.wpmu must be last VirtualHost
<VirtualHost *:80>
DocumentRoot /Users/frankindelicato/Sites/wordpressmu
ServerAlias *.wpmu
ServerName wpmu
# RedirectMatch 301 (.*) http://wpmu$1
</VirtualHost>
In the Apple httpd.conf file:
<Directory />
Options Indexes FollowSymLinks
AllowOverride All
</Directory>
<Directory "/Users/frankindelicato/Sites">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
Options All
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
AllowOverride All
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
Both servers can run at the same time and are addressed as follows:
http://wpmu/ # for Wordpress-mu
http://user1.wpmu/ # for test user1 blog
http://localhost2:8888/ # for Wordpress blog on MAMP
http://localhost4:8888/ # for drupal site
of course the MAMP also has httpd.conf and (it's vhosts are in that file also) and both systems share the hosts file. Hope this helps...