0

仮想ホストが機能していないようです...自分が何をしているのかわからないと思います。

httpd.conf

NameVirtualHost *

<VirtualHost *>
    ServerName localhost
    DocumentRoot "/Applications/MAMP/bin/mamp"
    <Directory "/Applications/MAMP/bin/mamp">
        Options Indexes FollowSymLinks Includes execCGI
        AllowOverride None
        Order Allow,Deny
        Allow From All
    </Directory>
</VirtualHost>

# rev.dev
<VirtualHost *>
    ServerName revcms.dev
    DocumentRoot "/Users/manuel/Sites/Rev"
    <Directory "/Users/manuel/Sites/Rev">
        Options Indexes FollowSymLinks Includes execCGI
        AllowOverride None
        Order Allow,Deny
        Allow From All
    </Directory>
</VirtualHost>

など/ホスト

##
# Host Database 
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##


255.255.255.255 broadcasthost
::1             localhost 
fe80::1%lo0 localhost

127.0.0.1 rev.dev

http://rev.devは 127.0.0.1 と同じように動作します。

4

2 に答える 2