mac mamp host 配置
<VirtualHost *:80>
DocumentRoot "/Users/xuxu/www"
ServerName localhost
<Directory "/Users/xuxu/www">
Options Indexes FollowSymLinks
AllowOverride All
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "/Users/xuxu/www/test"
ServerName tong.dev
<Directory "/Users/xuxu/www">
Options Indexes FollowSymLinks
AllowOverride All
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
特别说明:Mac智能引号功能,会把英文的"自动转换成中文饿“,关闭智能引号功能。